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.001385/0.001385, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001051/0.001051, allocations: 147.8 kB / 24.8 MB, free: 9.316 MB / 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.956/0.956, allocations: 173.3 MB / 201.4 MB, free: 9.191 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.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.373e-06/1.373e-06, allocations: 3.938 kB / 268.4 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.23e-05, allocations: 6.312 kB / 268.4 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.0044/0.004412, allocations: 4.595 MB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.006556, allocations: 1.285 MB / 274.3 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.006905, allocations: 39.75 kB / 274.4 MB, free: 188 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.007392, allocations: 222.5 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006608/0.008053, allocations: 389.4 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.008342, allocations: 207.6 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.009367, allocations: 1.576 MB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.00992, allocations: 0.5436 MB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/0.01066, allocations: 0.9629 MB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009298/0.01159, allocations: 0.7405 MB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.01173, allocations: 168 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.0119, allocations: 164 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.01216, allocations: 470.7 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.01251, allocations: 0.4989 MB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.01335, allocations: 1.223 MB / 281.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01335, allocations: 0 / 281.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01335, allocations: 0 / 281.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.01336, allocations: 0 / 281.5 MB, free: 9.004 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.001932/0.01529, allocations: 2.101 MB / 283.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.01533, allocations: 12.92 kB / 283.6 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.01553, allocations: 228 kB / 283.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.01622, allocations: 0.7683 MB / 284.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.01626, allocations: 82.36 kB / 284.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.544e-05/0.01636, allocations: 92.38 kB / 284.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.01744, allocations: 0.8134 MB / 285.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.01746, allocations: 3.938 kB / 285.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/0.01754, allocations: 44 kB / 285.6 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.01759, allocations: 41.98 kB / 285.7 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000569/0.01816, allocations: 289.6 kB / 286 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.02178, allocations: 3.362 MB / 289.3 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.02248, allocations: 0.5521 MB / 289.9 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.02299, allocations: 328.9 kB / 290.2 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.02303, allocations: 20.66 kB / 290.2 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1115/0.1345, allocations: 372.7 kB / 290.6 MB, free: 29.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.384e-06/0.1345, allocations: 0 / 290.6 MB, free: 29.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003058/0.1376, allocations: 1.445 MB / 292 MB, free: 29.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1376, allocations: 114.6 kB / 292.1 MB, free: 28.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.1381, allocations: 0.6679 MB / 292.8 MB, free: 28.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.1382, allocations: 43.91 kB / 292.8 MB, free: 28.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.1385, allocations: 0.557 MB / 293.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1386, allocations: 264.8 kB / 293.7 MB, free: 28.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.1387, allocations: 139.5 kB / 293.8 MB, free: 28.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1389, allocations: 0.5973 MB / 294.4 MB, free: 27.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.139, allocations: 83.5 kB / 294.5 MB, free: 27.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1392, allocations: 360.4 kB / 294.8 MB, free: 27.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.1395, allocations: 410.6 kB / 295.2 MB, free: 27.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1395, allocations: 1.641 kB / 295.2 MB, free: 27.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006688/0.1402, allocations: 0.576 MB / 295.8 MB, free: 27.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1402, allocations: 7.438 kB / 295.8 MB, free: 27.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1402, allocations: 3.906 kB / 295.8 MB, free: 27.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004409/0.1406, allocations: 228.8 kB / 296 MB, free: 27.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1408, allocations: 98.62 kB / 296.1 MB, free: 27.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.1433, allocations: 3.572 MB / 299.7 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.1436, allocations: 62.16 kB / 299.8 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.1436, allocations: 24.28 kB / 299.8 MB, free: 25.22 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.0001707/0.1438, allocations: 207.5 kB / 300 MB, free: 25.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/0.1439, allocations: 110 kB / 300.1 MB, free: 25.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.545e-05/0.1439, allocations: 101.7 kB / 300.2 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1439, allocations: 6.469 kB / 300.2 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.144, allocations: 1.688 kB / 300.2 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.144, allocations: 3.656 kB / 300.2 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1455, allocations: 1.373 MB / 301.6 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1455, allocations: 0.9688 kB / 301.6 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1456, allocations: 55.36 kB / 301.6 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/0.146, allocations: 215.8 kB / 301.8 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.1461, allocations: 17.75 kB / 301.9 MB, free: 24.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.1484, allocations: 3.532 MB / 305.4 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1484, allocations: 0 / 305.4 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.1491, allocations: 0.7859 MB / 306.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.1493, allocations: 171.4 kB / 306.3 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.1493, allocations: 15.81 kB / 306.4 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.1495, allocations: 27.06 kB / 306.4 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.1496, allocations: 64.52 kB / 306.5 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1496, allocations: 16.69 kB / 306.5 MB, free: 21.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1499, allocations: 413.7 kB / 306.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1499, allocations: 0 / 306.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005632/0.1504, allocations: 351 kB / 307.2 MB, free: 21.05 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.0001116/0.1505, allocations: 130.2 kB / 307.3 MB, free: 20.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.1512, allocations: 0.7663 MB / 308.1 MB, free: 20.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1512, allocations: 3.828 kB / 308.1 MB, free: 20.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.1516, allocations: 0.5985 MB / 308.7 MB, free: 20.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.1521, allocations: 274.7 kB / 309 MB, free: 20.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.1541, allocations: 1.966 MB / 310.9 MB, free: 19.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.1543, allocations: 368.3 kB / 311.3 MB, free: 18.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00016/0.1544, allocations: 89.28 kB / 311.4 MB, free: 18.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.1548, allocations: 302 kB / 311.7 MB, free: 18.37 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1548, allocations: 0 / 311.7 MB, free: 18.37 MB / 266.7 MB Notification: Performance of Templates: time 0.01648/0.1712, allocations: 19.61 MB / 331.3 MB, free: 15.13 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","",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.9934958769008517]