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.0007217/0.0007217, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.00193, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006552/0.0006552, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001672, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8615/0.8615, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1495/1.011, allocations: 52.49 MB / 238.5 MB, free: 7.605 MB / 234.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.132e-06/1.132e-06, allocations: 0 / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.819e-05, allocations: 5.828 kB / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003191/0.00321, allocations: 3.692 MB / 243.5 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004548, allocations: 0.9446 MB / 244.4 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.004733, allocations: 11.94 kB / 244.4 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.004868, allocations: 84.59 kB / 244.5 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.005073, allocations: 148.5 kB / 244.6 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.005333, allocations: 174.7 kB / 244.8 MB, free: 1.289 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.005807, allocations: 0.63 MB / 245.4 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.006011, allocations: 145.2 kB / 245.6 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.006384, allocations: 389.3 kB / 246 MB, free: 124 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.006616, allocations: 187.5 kB / 246.1 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.088e-05/0.006677, allocations: 59.94 kB / 246.2 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.006732, allocations: 57.31 kB / 246.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.006797, allocations: 83.75 kB / 246.3 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.006912, allocations: 159.6 kB / 246.5 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.00723, allocations: 370.6 kB / 246.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.007239, allocations: 1.031 kB / 246.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00724, allocations: 0 / 246.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.007252, allocations: 0 / 246.9 MB, free: 15.22 MB / 250.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.0008017/0.008053, allocations: 0.7929 MB / 247.7 MB, free: 14.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.621e-05/0.00808, allocations: 12.03 kB / 247.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.729e-05/0.008157, allocations: 68.88 kB / 247.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.008418, allocations: 252.2 kB / 248 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.00844, allocations: 37.38 kB / 248 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.00849, allocations: 40.38 kB / 248.1 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.008818, allocations: 384.3 kB / 248.4 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.008832, allocations: 4.828 kB / 248.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.008855, allocations: 19.94 kB / 248.5 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.008865, allocations: 12.69 kB / 248.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.009009, allocations: 124.8 kB / 248.6 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01016, allocations: 1.317 MB / 249.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.01046, allocations: 256.5 kB / 250.2 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.0107, allocations: 178.3 kB / 250.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.01073, allocations: 8.328 kB / 250.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.01094, allocations: 238.8 kB / 250.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.342e-06/0.01094, allocations: 0 / 250.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008948/0.01183, allocations: 0.5027 MB / 251.1 MB, free: 10.83 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.01187, allocations: 63.39 kB / 251.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.01202, allocations: 266.9 kB / 251.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.01204, allocations: 33.7 kB / 251.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.01212, allocations: 205.8 kB / 251.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.01219, allocations: 142.8 kB / 251.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.01226, allocations: 86.14 kB / 251.9 MB, free: 10 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.01234, allocations: 350.7 kB / 252.2 MB, free: 9.652 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.01239, allocations: 40.98 kB / 252.2 MB, free: 9.609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01251, allocations: 206 kB / 252.4 MB, free: 9.352 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.01269, allocations: 254.7 kB / 252.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.0127, allocations: 0 / 252.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0002948/0.01299, allocations: 305.4 kB / 253 MB, free: 8.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01301, allocations: 8 kB / 253 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01301, allocations: 0 / 253 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.01322, allocations: 103.2 kB / 253.1 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.01336, allocations: 79.91 kB / 253.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.01455, allocations: 1.854 MB / 255 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01466, allocations: 35.78 kB / 255.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01468, allocations: 19.94 kB / 255.1 MB, free: 6.57 MB / 250.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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 9.992e-05/0.01478, allocations: 140.5 kB / 255.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.01481, allocations: 39.95 kB / 255.3 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.01486, allocations: 47.48 kB / 255.3 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01486, allocations: 8 kB / 255.3 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01487, allocations: 0 / 255.3 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01487, allocations: 3.938 kB / 255.3 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.0154, allocations: 0.5405 MB / 255.9 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0154, allocations: 0 / 255.9 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.01549, allocations: 43.91 kB / 255.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.01556, allocations: 43.7 kB / 255.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.01573, allocations: 104.8 kB / 256 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01575, allocations: 8 kB / 256 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.01686, allocations: 1.833 MB / 257.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01686, allocations: 0 / 257.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.01719, allocations: 406.8 kB / 258.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.01722, allocations: 11.94 kB / 258.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.01731, allocations: 15.98 kB / 258.3 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.01738, allocations: 35.92 kB / 258.3 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.01739, allocations: 12 kB / 258.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.931e-05/0.01746, allocations: 100.6 kB / 258.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01746, allocations: 0 / 258.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003171/0.01777, allocations: 147.8 kB / 258.6 MB, free: 2.895 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001063/0.01788, allocations: 96.36 kB / 258.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.01827, allocations: 419.8 kB / 259.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.01828, allocations: 4 kB / 259.1 MB, free: 2.363 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.01852, allocations: 332.7 kB / 259.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.01895, allocations: 0.7392 MB / 260.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.02169, allocations: 0.8603 MB / 261 MB, free: 252 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.02176, allocations: 118.3 kB / 261.1 MB, free: 112 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.477e-05/0.02185, allocations: 35.28 kB / 261.2 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.02199, allocations: 119.3 kB / 261.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02199, allocations: 0 / 261.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Templates: time 0.008573/0.03057, allocations: 7.044 MB / 268.3 MB, free: 9.098 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4848507028073072]