Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001/0.001, 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.001083/0.001083, allocations: 149.4 kB / 24.8 MB, free: 8.941 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 1.019/1.019, allocations: 173.3 MB / 201.4 MB, free: 9.207 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.3e-05, allocations: 2.312 kB / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004563/0.004586, allocations: 3.614 MB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.006706, allocations: 1.009 MB / 273.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.00704, allocations: 19.88 kB / 273.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.007342, allocations: 103.1 kB / 273.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.008057, allocations: 262.3 kB / 273.4 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.00837, allocations: 139.7 kB / 273.6 MB, free: 1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.009311, allocations: 0.9803 MB / 274.5 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.009805, allocations: 331.4 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/0.01056, allocations: 0.5925 MB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.01132, allocations: 490.8 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.0115, allocations: 100 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.01166, allocations: 100 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.0119, allocations: 287.1 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.01224, allocations: 339.2 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008263/0.01307, allocations: 0.7671 MB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.01307, allocations: 0 / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.01307, allocations: 4 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.01309, allocations: 0 / 277.5 MB, free: 13.02 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001893/0.01498, allocations: 1.477 MB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.01502, allocations: 16.92 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.01523, allocations: 152.3 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.01586, allocations: 0.4902 MB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.0159, allocations: 49.69 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.01599, allocations: 72.36 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007665/0.01676, allocations: 0.5445 MB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.01678, allocations: 0 / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.01683, allocations: 24 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.01688, allocations: 33.3 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.01725, allocations: 181 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.01994, allocations: 2.234 MB / 282.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.02034, allocations: 271.8 kB / 283 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.02056, allocations: 129.8 kB / 283.2 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.02059, allocations: 8.328 kB / 283.2 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.02092, allocations: 253.8 kB / 283.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 3.266e-06/0.02092, allocations: 0 / 283.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001299/0.02222, allocations: 0.5234 MB / 284 MB, free: 6.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.02228, allocations: 110.8 kB / 284.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.02272, allocations: 0.4984 MB / 284.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.02276, allocations: 45.72 kB / 284.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.02302, allocations: 423.3 kB / 285 MB, free: 5.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.02313, allocations: 154.7 kB / 285.2 MB, free: 5.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.02326, allocations: 99.8 kB / 285.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.02345, allocations: 0.5468 MB / 285.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.02355, allocations: 48.95 kB / 285.9 MB, free: 4.344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.02376, allocations: 264.7 kB / 286.1 MB, free: 3.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.02411, allocations: 321.8 kB / 286.4 MB, free: 3.605 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.02411, allocations: 4 kB / 286.4 MB, free: 3.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005784/0.02469, allocations: 388.1 kB / 286.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.02471, allocations: 8.5 kB / 286.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.02472, allocations: 8 kB / 286.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/0.025, allocations: 95.59 kB / 286.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.02522, allocations: 79.83 kB / 287 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.02728, allocations: 2.458 MB / 289.5 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.0275, allocations: 43.77 kB / 289.5 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.02752, allocations: 12 kB / 289.5 MB, free: 404 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.02771, allocations: 196.3 kB / 289.7 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.02779, allocations: 83.55 kB / 289.8 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.02788, allocations: 61.2 kB / 289.8 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.02788, allocations: 4 kB / 289.9 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.02789, allocations: 4 kB / 289.9 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.0279, allocations: 3.984 kB / 289.9 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1214/0.1493, allocations: 0.9887 MB / 290.8 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1493, allocations: 0 / 290.8 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1494, allocations: 47.28 kB / 290.9 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.1497, allocations: 85.2 kB / 291 MB, free: 28.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.1497, allocations: 10.64 kB / 291 MB, free: 28.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.1511, allocations: 2.445 MB / 293.4 MB, free: 26.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1511, allocations: 3.281 kB / 293.4 MB, free: 26.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.1516, allocations: 0.5357 MB / 294 MB, free: 26.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.1518, allocations: 99.09 kB / 294.1 MB, free: 26.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.1518, allocations: 7.781 kB / 294.1 MB, free: 26.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.152, allocations: 16.58 kB / 294.1 MB, free: 26.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.1521, allocations: 41.97 kB / 294.1 MB, free: 26.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.1521, allocations: 16.42 kB / 294.1 MB, free: 26.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1523, allocations: 313.5 kB / 294.5 MB, free: 26.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1523, allocations: 0 / 294.5 MB, free: 26.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005932/0.1529, allocations: 212.7 kB / 294.7 MB, free: 26.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00013/0.153, allocations: 123 kB / 294.8 MB, free: 26.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005709/0.1536, allocations: 470 kB / 295.2 MB, free: 25.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1536, allocations: 1.156 kB / 295.2 MB, free: 25.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.1539, allocations: 373.5 kB / 295.6 MB, free: 25.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1544, allocations: 141.8 kB / 295.7 MB, free: 25.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1561, allocations: 1.239 MB / 297 MB, free: 25.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.1563, allocations: 245.3 kB / 297.2 MB, free: 25.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.1565, allocations: 56.62 kB / 297.3 MB, free: 25.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.1568, allocations: 198.2 kB / 297.5 MB, free: 25.03 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1568, allocations: 1 kB / 297.5 MB, free: 25.03 MB / 266.7 MB Notification: Performance of Templates: time 0.01353/0.1703, allocations: 10.24 MB / 307.7 MB, free: 21.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.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.8811459220014513]