Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001381/0.001381, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001467/0.001467, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9303/0.9303, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.717e-05, allocations: 2.312 kB / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005838/0.005855, allocations: 4.763 MB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.008326, allocations: 1.351 MB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.008673, allocations: 39.69 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.009331, allocations: 242.2 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007955/0.01013, allocations: 373.5 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.01054, allocations: 231.5 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.012, allocations: 1.591 MB / 281.6 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.01301, allocations: 0.5437 MB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.01411, allocations: 0.9746 MB / 283.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009782/0.01509, allocations: 0.7443 MB / 283.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.01533, allocations: 164 kB / 284 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.01561, allocations: 172 kB / 284.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.01598, allocations: 474.7 kB / 284.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.01654, allocations: 0.5067 MB / 285.1 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.01785, allocations: 1.219 MB / 286.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01785, allocations: 0 / 286.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01786, allocations: 3.938 kB / 286.4 MB, free: 3.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.01788, allocations: 0 / 286.4 MB, free: 3.93 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00295/0.02083, allocations: 2.157 MB / 288.5 MB, free: 1.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.02086, allocations: 12.03 kB / 288.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.02135, allocations: 252 kB / 288.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.02275, allocations: 0.8306 MB / 289.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.0228, allocations: 78.38 kB / 289.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.02295, allocations: 96.38 kB / 289.8 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.107/0.1299, allocations: 0.8772 MB / 290.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.1299, allocations: 1.281 kB / 290.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.13, allocations: 40.12 kB / 290.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/0.1301, allocations: 42.64 kB / 290.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.1309, allocations: 386.9 kB / 291.1 MB, free: 24.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.1346, allocations: 3.625 MB / 294.7 MB, free: 23.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.1354, allocations: 0.6009 MB / 295.3 MB, free: 23.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.136, allocations: 379.8 kB / 295.7 MB, free: 23.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.1361, allocations: 12.56 kB / 295.7 MB, free: 23.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.1365, allocations: 410.5 kB / 296.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.495e-06/0.1365, allocations: 0 / 296.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003873/0.1404, allocations: 1.883 MB / 298 MB, free: 22.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.1404, allocations: 117.4 kB / 298.1 MB, free: 22.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.1411, allocations: 0.707 MB / 298.8 MB, free: 22.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.1411, allocations: 40.8 kB / 298.9 MB, free: 22.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1413, allocations: 0.5586 MB / 299.4 MB, free: 21.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1414, allocations: 258.1 kB / 299.7 MB, free: 21.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.1416, allocations: 140.2 kB / 299.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1417, allocations: 0.5887 MB / 300.4 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1419, allocations: 113.7 kB / 300.5 MB, free: 21.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.1422, allocations: 386 kB / 300.9 MB, free: 20.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.1426, allocations: 452.1 kB / 301.3 MB, free: 20.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1426, allocations: 1.406 kB / 301.3 MB, free: 20.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008262/0.1434, allocations: 0.6569 MB / 302 MB, free: 20.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1435, allocations: 6.875 kB / 302 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1435, allocations: 4.125 kB / 302 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/0.144, allocations: 240 kB / 302.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1442, allocations: 98.94 kB / 302.3 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.147, allocations: 3.783 MB / 306.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.1473, allocations: 76.3 kB / 306.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.1473, allocations: 31.16 kB / 306.2 MB, free: 17.5 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: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.1475, allocations: 218.3 kB / 306.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.1476, allocations: 113.4 kB / 306.5 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.746e-05/0.1477, allocations: 102.9 kB / 306.6 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1477, allocations: 8 kB / 306.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1477, allocations: 0 / 306.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1477, allocations: 3.984 kB / 306.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1493, allocations: 1.65 MB / 308.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1493, allocations: 0 / 308.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1494, allocations: 58.31 kB / 308.4 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/0.1498, allocations: 236 kB / 308.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.1498, allocations: 20.8 kB / 308.6 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.1522, allocations: 3.717 MB / 312.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1522, allocations: 3.938 kB / 312.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.1531, allocations: 0.884 MB / 313.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.1533, allocations: 194.7 kB / 313.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.1533, allocations: 15.94 kB / 313.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1535, allocations: 39.95 kB / 313.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.1536, allocations: 80.5 kB / 313.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.1537, allocations: 27.98 kB / 313.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002837/0.1539, allocations: 446.9 kB / 314 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1539, allocations: 0 / 314 MB, free: 11.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005339/0.1545, allocations: 356.1 kB / 314.4 MB, free: 10.7 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000123/0.1546, allocations: 129 kB / 314.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008416/0.1554, allocations: 0.8056 MB / 315.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1554, allocations: 0 / 315.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.1559, allocations: 0.6371 MB / 315.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.1565, allocations: 263.6 kB / 316.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.1586, allocations: 2.009 MB / 318.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1589, allocations: 364 kB / 318.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.1591, allocations: 117.3 kB / 318.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.1592, allocations: 60.48 kB / 318.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1592, allocations: 0 / 318.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of Templates: time 0.02421/0.1834, allocations: 19.44 MB / 338.2 MB, free: 3.125 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.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: 2.943780916277319]