Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.002388/0.002388, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.00264/0.00264, allocations: 149.1 kB / 24.26 MB, free: 168 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 1.512/1.512, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.887e-05, allocations: 6.25 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006971/0.007, allocations: 4.662 MB / 272 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.009612, allocations: 1.289 MB / 273.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.009924, allocations: 39.69 kB / 273.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.0106, allocations: 226.3 kB / 273.6 MB, free: 476 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008597/0.01146, allocations: 381.5 kB / 273.9 MB, free: 92 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.0119, allocations: 215.5 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.0138, allocations: 1.579 MB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009748/0.01477, allocations: 0.5437 MB / 276.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.01607, allocations: 0.9513 MB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.01725, allocations: 0.7404 MB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.0175, allocations: 168 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.01782, allocations: 164 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.01834, allocations: 466.7 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007163/0.01905, allocations: 0.5066 MB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.02181, allocations: 2.131 MB / 281.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.02181, allocations: 4 kB / 281.4 MB, free: 8.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02181, allocations: 0 / 281.4 MB, free: 8.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.02184, allocations: 0 / 281.4 MB, free: 8.594 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.004619/0.02646, allocations: 2.453 MB / 283.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.0265, allocations: 12.92 kB / 283.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.02691, allocations: 224 kB / 284.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.02863, allocations: 0.8482 MB / 284.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.017e-05/0.02871, allocations: 74.38 kB / 285 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.02888, allocations: 100.4 kB / 285.1 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.03154, allocations: 1.492 MB / 286.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.03157, allocations: 7.938 kB / 286.6 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.03169, allocations: 39.98 kB / 286.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.03175, allocations: 42 kB / 286.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.03414, allocations: 1.148 MB / 287.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1251/0.1593, allocations: 4.578 MB / 292.4 MB, free: 29.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.1606, allocations: 0.8698 MB / 293.3 MB, free: 29.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.1616, allocations: 0.5901 MB / 293.8 MB, free: 29.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.1616, allocations: 13.31 kB / 293.9 MB, free: 29.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008029/0.1625, allocations: 0.616 MB / 294.5 MB, free: 28.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.174e-06/0.1625, allocations: 4.734 kB / 294.5 MB, free: 28.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.006996/0.1694, allocations: 2.514 MB / 297 MB, free: 28.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1695, allocations: 113.5 kB / 297.1 MB, free: 28.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.1706, allocations: 0.9374 MB / 298 MB, free: 27.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.1707, allocations: 42.36 kB / 298.1 MB, free: 27.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.171, allocations: 0.5883 MB / 298.7 MB, free: 27.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.1712, allocations: 273.9 kB / 298.9 MB, free: 27.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.1714, allocations: 166.4 kB / 299.1 MB, free: 27.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1716, allocations: 0.6414 MB / 299.7 MB, free: 26.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.1721, allocations: 307.1 kB / 300 MB, free: 26.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.1726, allocations: 0.585 MB / 300.6 MB, free: 26.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009959/0.1736, allocations: 0.8233 MB / 301.4 MB, free: 25.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.1736, allocations: 1.312 kB / 301.4 MB, free: 25.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001709/0.1753, allocations: 1.134 MB / 302.6 MB, free: 25.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1754, allocations: 6.875 kB / 302.6 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1754, allocations: 4.125 kB / 302.6 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/0.1763, allocations: 441.5 kB / 303 MB, free: 24.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.1767, allocations: 96.7 kB / 303.1 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005414/0.1821, allocations: 5.376 MB / 308.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.1827, allocations: 78.77 kB / 308.6 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.1827, allocations: 24.78 kB / 308.6 MB, free: 20.76 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.00052/0.1832, allocations: 447 kB / 309 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.1834, allocations: 110.8 kB / 309.1 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.1836, allocations: 98.77 kB / 309.2 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1836, allocations: 7.031 kB / 309.2 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1837, allocations: 5.75 kB / 309.2 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1837, allocations: 7.875 kB / 309.3 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.187, allocations: 2.36 MB / 311.6 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.187, allocations: 0 / 311.6 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.1872, allocations: 64.89 kB / 311.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007727/0.188, allocations: 399.3 kB / 312.1 MB, free: 17.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.1881, allocations: 12 kB / 312.1 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/0.1929, allocations: 5.106 MB / 317.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1929, allocations: 2.406 kB / 317.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.1948, allocations: 1.557 MB / 318.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.1952, allocations: 195.1 kB / 318.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1953, allocations: 16 kB / 319 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.1957, allocations: 39.95 kB / 319 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.1959, allocations: 84.5 kB / 319.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.1959, allocations: 23.98 kB / 319.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005638/0.1965, allocations: 0.5848 MB / 319.7 MB, free: 9.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1965, allocations: 0 / 319.7 MB, free: 9.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008773/0.1974, allocations: 347.3 kB / 320 MB, free: 9.438 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.000137/0.1975, allocations: 137.7 kB / 320.2 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.1991, allocations: 1.196 MB / 321.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1991, allocations: 0 / 321.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009137/0.2, allocations: 0.8199 MB / 322.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.2009, allocations: 257.7 kB / 322.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.2037, allocations: 2.149 MB / 324.6 MB, free: 4.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.2042, allocations: 0.679 MB / 325.3 MB, free: 4.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.2044, allocations: 110.8 kB / 325.4 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.2046, allocations: 56.48 kB / 325.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2046, allocations: 0 / 325.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of Templates: time 0.03126/0.2358, allocations: 18.52 MB / 343.9 MB, free: 1.734 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 5.088928805082105]