Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 210.9 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2332, allocations: 53.37 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004992/0.2382, allocations: 3.441 MB / 435.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.2401, allocations: 0.9583 MB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2403, allocations: 11.94 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.2406, allocations: 79.22 kB / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.241, allocations: 150.7 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2414, allocations: 187.6 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006621/0.242, allocations: 0.6109 MB / 437.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.2424, allocations: 152.6 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.2427, allocations: 243.1 kB / 438.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.243, allocations: 254.8 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.2431, allocations: 56 kB / 438.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2432, allocations: 64 kB / 438.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2434, allocations: 119.6 kB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.2436, allocations: 223 kB / 438.9 MB, free: 204 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007103/0.2443, allocations: 0.6565 MB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2443, allocations: 3.984 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2443, allocations: 4 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2443, allocations: 0 / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001461/0.2458, allocations: 0.8437 MB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2458, allocations: 12.03 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.246, allocations: 64.59 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.2465, allocations: 323.2 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.2466, allocations: 37.31 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.2466, allocations: 40.38 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.2475, allocations: 499.2 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.2475, allocations: 0 / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.2475, allocations: 16 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.2475, allocations: 12 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.2481, allocations: 323.7 kB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.2505, allocations: 1.619 MB / 443.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.2512, allocations: 347.9 kB / 443.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.2518, allocations: 253.3 kB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.2519, allocations: 4.328 kB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.2523, allocations: 294.9 kB / 444.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.2524, allocations: 0 / 444.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002383/0.2547, allocations: 0.7681 MB / 444.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.2548, allocations: 89.11 kB / 445 MB, free: 9.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.2552, allocations: 308.5 kB / 445.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.2552, allocations: 41.69 kB / 445.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.2554, allocations: 225.3 kB / 445.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.2555, allocations: 138.8 kB / 445.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2556, allocations: 90.14 kB / 445.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2558, allocations: 354.7 kB / 446.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.256, allocations: 117 kB / 446.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.2564, allocations: 278.1 kB / 446.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.257, allocations: 375.4 kB / 446.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.257, allocations: 4 kB / 446.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008851/0.2579, allocations: 0.5017 MB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2579, allocations: 8 kB / 447.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.2579, allocations: 7.938 kB / 447.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.2584, allocations: 160.6 kB / 447.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.2586, allocations: 59.91 kB / 447.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.2615, allocations: 2.39 MB / 450 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.2618, allocations: 43.77 kB / 450.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.2618, allocations: 23.94 kB / 450.1 MB, free: 4.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002598/0.262, allocations: 177.8 kB / 450.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.2621, allocations: 39.77 kB / 450.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.2622, allocations: 48.23 kB / 450.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2622, allocations: 4 kB / 450.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2622, allocations: 0 / 450.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2622, allocations: 3.984 kB / 450.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2636, allocations: 0.8796 MB / 451.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2637, allocations: 0 / 451.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.2638, allocations: 35.98 kB / 451.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.2642, allocations: 139.9 kB / 451.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.2642, allocations: 11.98 kB / 451.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.267, allocations: 2.388 MB / 453.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.267, allocations: 4 kB / 453.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2681, allocations: 0.6982 MB / 454.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.2683, allocations: 71.7 kB / 454.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.2684, allocations: 15.98 kB / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.2686, allocations: 8 kB / 454.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.2687, allocations: 47.8 kB / 454.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.2687, allocations: 16 kB / 454.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.2689, allocations: 215.1 kB / 454.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2689, allocations: 0 / 454.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005914/0.2695, allocations: 155.7 kB / 455 MB, free: 15.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.2697, allocations: 125.8 kB / 455.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.2707, allocations: 0.5293 MB / 455.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2707, allocations: 0 / 455.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005593/0.2712, allocations: 366.3 kB / 456.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.2717, allocations: 72.64 kB / 456.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.2734, allocations: 0.919 MB / 457 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2736, allocations: 224.8 kB / 457.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.2737, allocations: 35.44 kB / 457.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2737, allocations: 0 / 457.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of Templates: time 0.01035/0.2841, allocations: 7.226 MB / 464.5 MB, free: 5.797 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.921874910010956]