Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001752/0.001752, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002076/0.002076, allocations: 209 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.681/1.681, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 43.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4259, allocations: 53.37 MB / 432.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006535/0.4324, allocations: 4.196 MB / 436.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.4356, allocations: 1.266 MB / 437.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.4362, allocations: 31.75 kB / 437.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.4367, allocations: 174.7 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.438, allocations: 373.9 kB / 438.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.4386, allocations: 211.6 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.4406, allocations: 1.631 MB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009157/0.4415, allocations: 0.5834 MB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.4427, allocations: 0.7047 MB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.444, allocations: 0.8796 MB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002654/0.4443, allocations: 176 kB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.4446, allocations: 184 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004755/0.4451, allocations: 490.5 kB / 443.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007872/0.4459, allocations: 0.6417 MB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.4485, allocations: 2.296 MB / 446.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4486, allocations: 0 / 446.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4486, allocations: 0 / 446.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.694e-05/0.4486, allocations: 0 / 446.2 MB, free: 8.789 MB / 350.1 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.0043/0.4529, allocations: 2.075 MB / 448.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4529, allocations: 8.031 kB / 448.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/0.4538, allocations: 215.9 kB / 448.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.4559, allocations: 0.9749 MB / 449.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/0.456, allocations: 74.44 kB / 449.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.4562, allocations: 112.1 kB / 449.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.4591, allocations: 1.578 MB / 451.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.4591, allocations: 4 kB / 451.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.4593, allocations: 43.98 kB / 451.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.4593, allocations: 46.03 kB / 451.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.4619, allocations: 1.429 MB / 452.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00784/0.4697, allocations: 4.32 MB / 457 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.4713, allocations: 0.9305 MB / 458 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.4727, allocations: 0.6806 MB / 458.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-05/0.4728, allocations: 12.59 kB / 458.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.4739, allocations: 0.6374 MB / 459.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.236e-06/0.4739, allocations: 3.938 kB / 459.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006311/0.4802, allocations: 2.356 MB / 461.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.4803, allocations: 89.75 kB / 461.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.4818, allocations: 0.9306 MB / 462.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/0.4819, allocations: 37.7 kB / 462.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.4825, allocations: 0.5513 MB / 463.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.4827, allocations: 237.9 kB / 463.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.483, allocations: 134.7 kB / 463.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4832, allocations: 334 kB / 463.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/0.4839, allocations: 413.7 kB / 464.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008668/0.4848, allocations: 0.5776 MB / 464.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.4863, allocations: 0.9405 MB / 465.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4863, allocations: 8 kB / 465.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002488/0.4888, allocations: 1.287 MB / 467.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.4889, allocations: 4 kB / 467.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.4889, allocations: 7.984 kB / 467.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4899, allocations: 411.1 kB / 467.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.4904, allocations: 111.8 kB / 467.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/0.4964, allocations: 4.322 MB / 472 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/0.4972, allocations: 79.64 kB / 472.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.4973, allocations: 24 kB / 472.1 MB, free: 14.2 MB / 382.1 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.0008692/0.4981, allocations: 499.2 kB / 472.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.4983, allocations: 99.33 kB / 472.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.4986, allocations: 120.5 kB / 472.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4986, allocations: 15.94 kB / 472.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4986, allocations: 0 / 472.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4986, allocations: 3.984 kB / 472.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/0.5028, allocations: 2.279 MB / 475.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5028, allocations: 0 / 475.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.5032, allocations: 87.88 kB / 475.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009272/0.5042, allocations: 385 kB / 475.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.5042, allocations: 15.98 kB / 475.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/0.51, allocations: 4.285 MB / 479.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.51, allocations: 3.938 kB / 479.9 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.5134, allocations: 1.944 MB / 481.8 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007081/0.5141, allocations: 219.1 kB / 482 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.5143, allocations: 19.98 kB / 482 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.5147, allocations: 47.89 kB / 482.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.515, allocations: 80.5 kB / 482.2 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.515, allocations: 16 kB / 482.2 MB, free: 3.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.5161, allocations: 0.6707 MB / 482.9 MB, free: 3.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5161, allocations: 0 / 482.9 MB, free: 3.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001086/0.5171, allocations: 355.1 kB / 483.2 MB, free: 2.918 MB / 382.1 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.0001986/0.5173, allocations: 129.4 kB / 483.3 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.5198, allocations: 1.249 MB / 484.6 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5198, allocations: 0 / 484.6 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.5212, allocations: 0.7802 MB / 485.4 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.5224, allocations: 237.3 kB / 485.6 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.5279, allocations: 2.685 MB / 488.3 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.529, allocations: 0.8025 MB / 489.1 MB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005998/0.5296, allocations: 171.2 kB / 489.2 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.5297, allocations: 55.44 kB / 489.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of SimCode: time 1.964e-06/0.5297, allocations: 0 / 489.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of Templates: time 0.03418/0.5639, allocations: 19.08 MB / 0.4965 GB, free: 9.969 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.066743657996994]