Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009042/0.0009042, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9282/0.9282, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.077e-05, allocations: 2.312 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003646/0.003666, allocations: 3.711 MB / 271.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004869, allocations: 0.9114 MB / 272.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.005053, allocations: 7.938 kB / 272.6 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.005261, allocations: 75.28 kB / 272.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.005527, allocations: 154.6 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.005809, allocations: 171.6 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.006267, allocations: 0.6302 MB / 273.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.006515, allocations: 136.6 kB / 273.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.006796, allocations: 355.2 kB / 274.1 MB, free: 244 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.00703, allocations: 191.4 kB / 274.3 MB, free: 52 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.007102, allocations: 56.05 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.868e-05/0.007161, allocations: 56 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.007245, allocations: 123.5 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.007384, allocations: 187.6 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.007738, allocations: 402.5 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.007743, allocations: 4 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.007745, allocations: 0 / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.007752, allocations: 0 / 275.1 MB, free: 15.24 MB / 266.7 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.001028/0.00878, allocations: 0.9443 MB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.008817, allocations: 12.92 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.008921, allocations: 88.61 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.009283, allocations: 309.3 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.009313, allocations: 37.38 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.009382, allocations: 48.31 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.009861, allocations: 409.5 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.009875, allocations: 192 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.009904, allocations: 19.94 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.009918, allocations: 12 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.01017, allocations: 177.7 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.01164, allocations: 1.832 MB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.01205, allocations: 307 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.01237, allocations: 203.5 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.01239, allocations: 12.33 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.01266, allocations: 246.2 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.01266, allocations: 0 / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001213/0.01387, allocations: 0.6264 MB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.01391, allocations: 81.11 kB / 280.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.01415, allocations: 334.2 kB / 280.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.01417, allocations: 33.7 kB / 280.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01428, allocations: 280 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/0.01435, allocations: 138.8 kB / 281.2 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.01444, allocations: 91.8 kB / 281.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.01463, allocations: 0.5118 MB / 281.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.01473, allocations: 60.95 kB / 281.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.01492, allocations: 276.9 kB / 282.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.01522, allocations: 325.9 kB / 282.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.01522, allocations: 4 kB / 282.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004581/0.01568, allocations: 404.1 kB / 282.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.0157, allocations: 8 kB / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.01571, allocations: 4.469 kB / 282.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.01599, allocations: 119.5 kB / 283 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01613, allocations: 75.83 kB / 283.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.01793, allocations: 2.617 MB / 285.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01805, allocations: 47.72 kB / 285.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.01808, allocations: 16 kB / 285.8 MB, free: 4.004 MB / 266.7 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.0001232/0.0182, allocations: 196.4 kB / 286 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.01825, allocations: 55.75 kB / 286 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.01829, allocations: 39.5 kB / 286 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01829, allocations: 7.984 kB / 286.1 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.0183, allocations: 4 kB / 286.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.0183, allocations: 3.938 kB / 286.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.01908, allocations: 0.7905 MB / 286.9 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01909, allocations: 0 / 286.9 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.01918, allocations: 35.95 kB / 286.9 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.01967, allocations: 107.6 kB / 287 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.01969, allocations: 11.98 kB / 287 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1233/0.143, allocations: 2.606 MB / 289.6 MB, free: 28.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.143, allocations: 0 / 289.6 MB, free: 28.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008993/0.1439, allocations: 0.5567 MB / 290.2 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.144, allocations: 80.34 kB / 290.2 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.1441, allocations: 8.875 kB / 290.3 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.1443, allocations: 14.47 kB / 290.3 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.1444, allocations: 38.73 kB / 290.3 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.1444, allocations: 15.56 kB / 290.3 MB, free: 28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1446, allocations: 231.8 kB / 290.5 MB, free: 27.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1446, allocations: 0.875 kB / 290.5 MB, free: 27.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006886/0.1453, allocations: 142.4 kB / 290.7 MB, free: 27.88 MB / 266.7 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.0001574/0.1455, allocations: 117.5 kB / 290.8 MB, free: 27.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008285/0.1463, allocations: 0.4991 MB / 291.3 MB, free: 27.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1463, allocations: 1.531 kB / 291.3 MB, free: 27.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.1467, allocations: 389.5 kB / 291.7 MB, free: 27.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1472, allocations: 72.52 kB / 291.8 MB, free: 27.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.149, allocations: 0.8284 MB / 292.6 MB, free: 27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.1491, allocations: 119 kB / 292.7 MB, free: 26.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.1493, allocations: 37.59 kB / 292.7 MB, free: 26.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.1493, allocations: 28.34 kB / 292.8 MB, free: 26.92 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1493, allocations: 0 / 292.8 MB, free: 26.92 MB / 266.7 MB Notification: Performance of Templates: time 0.01459/0.1639, allocations: 6.49 MB / 299.3 MB, free: 25.78 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0407751980237663]