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.001284/0.001284, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001482/0.001482, allocations: 205.6 kB / 23.73 MB, free: 4.379 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.002296/0.002296, allocations: 51.94 kB / 378.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3414, allocations: 53.37 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005673/0.3471, allocations: 3.445 MB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.3493, allocations: 0.9521 MB / 436 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.3497, allocations: 11.88 kB / 436 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.35, allocations: 79.22 kB / 436.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.3505, allocations: 154.6 kB / 436.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.351, allocations: 179.7 kB / 436.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008304/0.3518, allocations: 0.6148 MB / 437 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.3522, allocations: 152.6 kB / 437.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.3525, allocations: 239.1 kB / 437.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.3529, allocations: 258.8 kB / 437.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.03e-05/0.353, allocations: 56 kB / 437.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3531, allocations: 64 kB / 437.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.3532, allocations: 123.5 kB / 437.9 MB, free: 424 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3535, allocations: 226.9 kB / 438.1 MB, free: 196 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.3542, allocations: 0.6495 MB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3542, allocations: 0 / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3542, allocations: 0 / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3542, allocations: 0 / 438.8 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.001607/0.3558, allocations: 0.8592 MB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3559, allocations: 8.031 kB / 439.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.3561, allocations: 68.61 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.3566, allocations: 323.1 kB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.3567, allocations: 41.36 kB / 440.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.959e-05/0.3568, allocations: 40.38 kB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.3576, allocations: 491.2 kB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3576, allocations: 4 kB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.3577, allocations: 16 kB / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3577, allocations: 8 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.3583, allocations: 323.8 kB / 440.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.3607, allocations: 1.623 MB / 442.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.3614, allocations: 347.9 kB / 442.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/0.362, allocations: 249.4 kB / 443.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.362, allocations: 4.328 kB / 443.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.3625, allocations: 294.8 kB / 443.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.973e-06/0.3625, allocations: 0 / 443.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002348/0.3649, allocations: 0.7643 MB / 444.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.3649, allocations: 93.09 kB / 444.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.3653, allocations: 304.5 kB / 444.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.3653, allocations: 37.7 kB / 444.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3655, allocations: 237.3 kB / 444.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.3656, allocations: 138.8 kB / 445 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.3657, allocations: 90.08 kB / 445.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3659, allocations: 350.7 kB / 445.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.3661, allocations: 128.9 kB / 445.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.3665, allocations: 270.1 kB / 445.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.3671, allocations: 383.3 kB / 446.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3671, allocations: 0 / 446.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008879/0.368, allocations: 0.5017 MB / 446.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.368, allocations: 4 kB / 446.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.368, allocations: 7.938 kB / 446.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/0.3685, allocations: 156.7 kB / 446.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3687, allocations: 59.91 kB / 446.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.3716, allocations: 2.383 MB / 449.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.3719, allocations: 43.73 kB / 449.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.3719, allocations: 20 kB / 449.3 MB, free: 4.473 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.0002338/0.3722, allocations: 181.9 kB / 449.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.3722, allocations: 35.77 kB / 449.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.3723, allocations: 52.23 kB / 449.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3723, allocations: 7.938 kB / 449.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3723, allocations: 0 / 449.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3723, allocations: 11.98 kB / 449.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.3737, allocations: 0.8641 MB / 450.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3737, allocations: 4 kB / 450.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.3739, allocations: 39.91 kB / 450.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.3743, allocations: 140.9 kB / 450.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3744, allocations: 8.031 kB / 450.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/0.3771, allocations: 2.39 MB / 453.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3771, allocations: 0 / 453.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3783, allocations: 0.7097 MB / 453.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.3784, allocations: 67.7 kB / 453.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.3785, allocations: 12 kB / 453.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.3787, allocations: 15.98 kB / 453.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.3788, allocations: 39.88 kB / 453.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.3789, allocations: 11.98 kB / 453.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.3791, allocations: 223 kB / 454.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3791, allocations: 0 / 454.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006454/0.3797, allocations: 155.7 kB / 454.3 MB, free: 15.34 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.0001475/0.3799, allocations: 119.1 kB / 454.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3809, allocations: 0.5252 MB / 454.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.3809, allocations: 4 kB / 454.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006901/0.3816, allocations: 359.2 kB / 455.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.3821, allocations: 80.06 kB / 455.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.3838, allocations: 0.8927 MB / 456.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.384, allocations: 228.8 kB / 456.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3842, allocations: 35.28 kB / 456.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.3842, allocations: 27.44 kB / 456.5 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3842, allocations: 0 / 456.5 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.0132/0.3974, allocations: 7.069 MB / 463.6 MB, free: 6.102 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/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: 4.96621763613075]