Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000978/0.000978, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 159.6 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.018/1.018, allocations: 177 MB / 205.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.768e-05, allocations: 2.312 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006794/0.006822, allocations: 4.576 MB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.009773, allocations: 1.293 MB / 278.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004976/0.01027, allocations: 31.81 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.01071, allocations: 178.6 kB / 279.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.01194, allocations: 373.5 kB / 279.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.01252, allocations: 227.5 kB / 279.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.0147, allocations: 1.688 MB / 281.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009556/0.01565, allocations: 0.5754 MB / 281.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.01727, allocations: 1.037 MB / 283 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.01877, allocations: 0.8301 MB / 283.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.01918, allocations: 176 kB / 284 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.01954, allocations: 192 kB / 284.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004585/0.02, allocations: 0.4986 MB / 284.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000717/0.02071, allocations: 0.5495 MB / 285.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.02234, allocations: 1.344 MB / 286.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02234, allocations: 0 / 286.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02234, allocations: 0 / 286.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.02237, allocations: 0 / 286.6 MB, free: 4.137 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003963/0.02633, allocations: 2.337 MB / 288.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.02637, allocations: 11.98 kB / 288.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005382/0.02691, allocations: 295.8 kB / 289.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009745/0.02788, allocations: 0.8871 MB / 290.1 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.02793, allocations: 78.44 kB / 290.2 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.02803, allocations: 108.4 kB / 290.3 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1044/0.1324, allocations: 0.9061 MB / 291.2 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.1324, allocations: 5.375 kB / 291.2 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.1325, allocations: 41.08 kB / 291.2 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.1326, allocations: 43.38 kB / 291.3 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.1334, allocations: 410.8 kB / 291.7 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/0.1375, allocations: 4.15 MB / 295.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.1382, allocations: 0.5186 MB / 296.3 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.1388, allocations: 361.8 kB / 296.7 MB, free: 25.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.1389, allocations: 11.84 kB / 296.7 MB, free: 25.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.1394, allocations: 375.9 kB / 297.1 MB, free: 25.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/0.1394, allocations: 1.094 kB / 297.1 MB, free: 25.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002996/0.1424, allocations: 1.41 MB / 298.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1424, allocations: 90.16 kB / 298.6 MB, free: 24.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.1431, allocations: 0.8028 MB / 299.4 MB, free: 24.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1432, allocations: 41.55 kB / 299.4 MB, free: 24.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.1434, allocations: 0.6089 MB / 300 MB, free: 23.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1436, allocations: 253.3 kB / 300.3 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.1437, allocations: 132.5 kB / 300.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.1438, allocations: 0.5121 MB / 300.9 MB, free: 23.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.144, allocations: 102.7 kB / 301 MB, free: 23.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1442, allocations: 339.4 kB / 301.3 MB, free: 22.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.1447, allocations: 450.8 kB / 301.8 MB, free: 22.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1447, allocations: 1.156 kB / 301.8 MB, free: 22.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008769/0.1456, allocations: 0.6299 MB / 302.4 MB, free: 22.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1456, allocations: 10.53 kB / 302.4 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1456, allocations: 3.906 kB / 302.4 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.1461, allocations: 200.7 kB / 302.6 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.1464, allocations: 112.8 kB / 302.7 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.1487, allocations: 3.228 MB / 305.9 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.1489, allocations: 77.89 kB / 306 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.149, allocations: 26.81 kB / 306.1 MB, free: 19.55 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 (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.0001912/0.1492, allocations: 212.8 kB / 306.3 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1493, allocations: 122.6 kB / 306.4 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1494, allocations: 111 kB / 306.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1494, allocations: 6.312 kB / 306.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1494, allocations: 1.188 kB / 306.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1494, allocations: 0 / 306.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.1511, allocations: 1.616 MB / 308.1 MB, free: 18.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1511, allocations: 0 / 308.1 MB, free: 18.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.1512, allocations: 77.86 kB / 308.2 MB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003275/0.1516, allocations: 187.3 kB / 308.4 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1516, allocations: 11.28 kB / 308.4 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.1535, allocations: 3.202 MB / 311.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1535, allocations: 4 kB / 311.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.1544, allocations: 0.8412 MB / 312.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.1546, allocations: 199.5 kB / 312.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.1547, allocations: 18.94 kB / 312.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.1549, allocations: 35.95 kB / 312.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.155, allocations: 96.31 kB / 312.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.155, allocations: 19.98 kB / 312.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003315/0.1554, allocations: 0.495 MB / 313.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1554, allocations: 0 / 313.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005171/0.1559, allocations: 355.4 kB / 313.6 MB, free: 13.11 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 (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.0001082/0.156, allocations: 129.3 kB / 313.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007911/0.1568, allocations: 0.7486 MB / 314.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1568, allocations: 0 / 314.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.1572, allocations: 0.5764 MB / 315.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.1578, allocations: 262.5 kB / 315.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1602, allocations: 2.279 MB / 317.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1604, allocations: 399.8 kB / 318 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.1607, allocations: 127.2 kB / 318.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1608, allocations: 64.48 kB / 318.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1608, allocations: 0 / 318.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of Templates: time 0.01738/0.1781, allocations: 17.49 MB / 335.7 MB, free: 7.258 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.2232888790313154]