Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0009786/0.0009786, allocations: 75.77 kB / 22.46 MB, free: 2.09 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.0009871/0.0009871, allocations: 162.6 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.831/0.831, allocations: 158.6 MB / 187.6 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 251.1 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.749e-05, allocations: 2.312 kB / 251.1 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004091/0.004109, allocations: 4.473 MB / 255.6 MB, free: 3.25 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.005558, allocations: 1.255 MB / 256.9 MB, free: 1.988 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.00575, allocations: 27.81 kB / 256.9 MB, free: 1.961 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.006019, allocations: 170.7 kB / 257.1 MB, free: 1.793 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.006691, allocations: 381.5 kB / 257.4 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.00693, allocations: 199.6 kB / 257.6 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.007978, allocations: 1.669 MB / 259.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/0.008474, allocations: 0.5044 MB / 259.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006775/0.009152, allocations: 1.006 MB / 260.8 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007396/0.009891, allocations: 0.8301 MB / 261.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.01004, allocations: 176 kB / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.0102, allocations: 172 kB / 262 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.01049, allocations: 0.4947 MB / 262.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.01093, allocations: 0.5495 MB / 263 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009478/0.01187, allocations: 1.316 MB / 264.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.01188, allocations: 0 / 264.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01188, allocations: 0 / 264.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.01189, allocations: 0 / 264.3 MB, free: 10.47 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002374/0.01426, allocations: 2.29 MB / 266.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.0143, allocations: 15.98 kB / 266.6 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.01455, allocations: 236 kB / 266.9 MB, free: 7.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.01536, allocations: 0.7858 MB / 267.7 MB, free: 7.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.01541, allocations: 78.41 kB / 267.7 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.01553, allocations: 112.2 kB / 267.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.01669, allocations: 0.8947 MB / 268.7 MB, free: 5.906 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.01671, allocations: 7.875 kB / 268.7 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.01679, allocations: 43.98 kB / 268.8 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.01683, allocations: 46.03 kB / 268.8 MB, free: 5.809 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007663/0.0176, allocations: 399.8 kB / 269.2 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.02115, allocations: 4.141 MB / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.02179, allocations: 0.5136 MB / 273.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.02231, allocations: 372.7 kB / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.02234, allocations: 16.66 kB / 274.3 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.02278, allocations: 368.2 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.834e-06/0.02278, allocations: 0 / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002722/0.02551, allocations: 1.426 MB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.02555, allocations: 89.77 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/0.0262, allocations: 0.769 MB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.02625, allocations: 41.7 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.02655, allocations: 0.6009 MB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.0267, allocations: 246 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.02685, allocations: 144.3 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.02697, allocations: 0.5082 MB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.02717, allocations: 105.9 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.02747, allocations: 338.6 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.02797, allocations: 451.6 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02797, allocations: 0 / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008451/0.02882, allocations: 0.6216 MB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.02884, allocations: 8.469 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.02884, allocations: 8 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.02926, allocations: 193.4 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.02954, allocations: 111.8 kB / 280.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.0321, allocations: 3.236 MB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.03233, allocations: 75.58 kB / 283.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.03236, allocations: 23.98 kB / 283.6 MB, free: 6.465 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.03258, allocations: 210.4 kB / 283.8 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.03269, allocations: 123.4 kB / 283.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.0328, allocations: 108.2 kB / 284 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.03281, allocations: 8 kB / 284 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.03281, allocations: 0 / 284 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.03281, allocations: 7.922 kB / 284 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.03459, allocations: 1.594 MB / 285.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.03459, allocations: 4 kB / 285.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.0348, allocations: 75.89 kB / 285.7 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.03515, allocations: 195.6 kB / 285.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.03519, allocations: 15.98 kB / 285.9 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.03759, allocations: 3.193 MB / 289.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.03759, allocations: 4 kB / 289.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.03862, allocations: 0.8388 MB / 289.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.03885, allocations: 195.2 kB / 290.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.03891, allocations: 12 kB / 290.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.03912, allocations: 43.95 kB / 290.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.03926, allocations: 96.42 kB / 290.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.03929, allocations: 19.98 kB / 290.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004871/0.03978, allocations: 486.9 kB / 290.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03978, allocations: 0 / 290.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005806/0.04036, allocations: 355.2 kB / 291.1 MB, free: 14.71 MB / 282.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.04051, allocations: 123 kB / 291.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009576/0.04146, allocations: 0.7477 MB / 292 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.04146, allocations: 0.9375 kB / 292 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.04202, allocations: 0.5799 MB / 292.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.04265, allocations: 247.2 kB / 292.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.04563, allocations: 2.256 MB / 295.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.04591, allocations: 387.7 kB / 295.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.04614, allocations: 123.1 kB / 295.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.04627, allocations: 64.48 kB / 295.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04627, allocations: 0 / 295.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of Templates: time 0.02486/0.07113, allocations: 17.38 MB / 313 MB, free: 8.734 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.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.905433096922934]