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.001009/0.001009, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001024/0.001024, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 0.9686/0.9686, allocations: 173.3 MB / 201.1 MB, free: 9.324 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.883e-06/1.883e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.741e-05, allocations: 2.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004787/0.004815, allocations: 3.681 MB / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.006261, allocations: 1.001 MB / 272.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.00643, allocations: 19.88 kB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.006656, allocations: 107.1 kB / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006143/0.007271, allocations: 258.3 kB / 273.1 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.007495, allocations: 143.6 kB / 273.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006579/0.008153, allocations: 0.9803 MB / 274.2 MB, free: 192 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.008534, allocations: 331.4 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.008963, allocations: 0.5925 MB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.009449, allocations: 478.8 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.043e-05/0.00954, allocations: 100 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.009642, allocations: 104 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.009822, allocations: 287.1 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.01007, allocations: 331.2 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.01068, allocations: 0.7748 MB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.01068, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01068, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01069, allocations: 0 / 277.2 MB, free: 13.2 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.001558/0.01225, allocations: 1.497 MB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.01229, allocations: 12.92 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.01245, allocations: 148.3 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.01305, allocations: 0.5305 MB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.01309, allocations: 57.67 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/0.01317, allocations: 64.38 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.01396, allocations: 0.5798 MB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.01398, allocations: 0 / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.01403, allocations: 28 kB / 280.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.01407, allocations: 33.25 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.01451, allocations: 247.6 kB / 280.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.01671, allocations: 2.398 MB / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.0171, allocations: 295.1 kB / 283 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.01735, allocations: 153.8 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.01739, allocations: 8.328 kB / 283.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.0177, allocations: 261.9 kB / 283.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.0177, allocations: 0 / 283.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001299/0.019, allocations: 0.6521 MB / 284.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.01906, allocations: 114.8 kB / 284.2 MB, free: 5.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.01946, allocations: 0.5104 MB / 284.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.01949, allocations: 41.72 kB / 284.8 MB, free: 5.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.01969, allocations: 415.3 kB / 285.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.01978, allocations: 154.7 kB / 285.3 MB, free: 4.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.01988, allocations: 91.84 kB / 285.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.02003, allocations: 0.5469 MB / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.02015, allocations: 64.95 kB / 286 MB, free: 4.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.02037, allocations: 284.6 kB / 286.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.02072, allocations: 337.8 kB / 286.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.02072, allocations: 8 kB / 286.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00075/0.02147, allocations: 432.1 kB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.02149, allocations: 11.31 kB / 287.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.0215, allocations: 8 kB / 287.1 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.02179, allocations: 107.6 kB / 287.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.02198, allocations: 71.91 kB / 287.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1176/0.1396, allocations: 2.538 MB / 289.8 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.14, allocations: 50.78 kB / 289.8 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.14, allocations: 20.45 kB / 289.9 MB, free: 27.73 MB / 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.0002367/0.1402, allocations: 197 kB / 290 MB, free: 27.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.655e-05/0.1403, allocations: 72.5 kB / 290.1 MB, free: 27.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/0.1404, allocations: 62.3 kB / 290.2 MB, free: 27.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1404, allocations: 4.156 kB / 290.2 MB, free: 27.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1404, allocations: 1.344 kB / 290.2 MB, free: 27.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1404, allocations: 3.75 kB / 290.2 MB, free: 27.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.1418, allocations: 1.169 MB / 291.4 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1418, allocations: 0 / 291.4 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.142, allocations: 41.47 kB / 291.4 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.1423, allocations: 101.6 kB / 291.5 MB, free: 27.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.1423, allocations: 10.08 kB / 291.5 MB, free: 27.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.1438, allocations: 2.525 MB / 294 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1438, allocations: 0 / 294 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/0.1446, allocations: 0.5786 MB / 294.6 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.1447, allocations: 117.5 kB / 294.7 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.1448, allocations: 10.23 kB / 294.7 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1449, allocations: 21.34 kB / 294.8 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1451, allocations: 51.78 kB / 294.8 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.1451, allocations: 15.59 kB / 294.8 MB, free: 24.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003047/0.1454, allocations: 337.2 kB / 295.1 MB, free: 24.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1454, allocations: 1.125 kB / 295.2 MB, free: 24.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005757/0.146, allocations: 205.7 kB / 295.4 MB, free: 24.78 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.0001447/0.1461, allocations: 117.6 kB / 295.5 MB, free: 24.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.1468, allocations: 0.4895 MB / 296 MB, free: 24.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1468, allocations: 1.5 kB / 296 MB, free: 24.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.1472, allocations: 388.1 kB / 296.3 MB, free: 24.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.1476, allocations: 149.8 kB / 296.5 MB, free: 24.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1496, allocations: 1.255 MB / 297.7 MB, free: 23.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1498, allocations: 242 kB / 298 MB, free: 23.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.15, allocations: 75.62 kB / 298 MB, free: 23.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.15, allocations: 39.12 kB / 298.1 MB, free: 23.62 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1501, allocations: 0 / 298.1 MB, free: 23.62 MB / 266.7 MB Notification: Performance of Templates: time 0.013/0.1631, allocations: 9.643 MB / 307.7 MB, free: 20.02 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: 3.2009818251244724]