Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001081/0.001081, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001236/0.001236, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.044/1.044, allocations: 177 MB / 204.8 MB, free: 5.59 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.735e-05, allocations: 2.312 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005462/0.005489, allocations: 3.724 MB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.007839, allocations: 1.067 MB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.008177, allocations: 19.88 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.008487, allocations: 115 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000873/0.00936, allocations: 254.3 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.009772, allocations: 159.6 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.01086, allocations: 0.9997 MB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006089/0.01147, allocations: 347.4 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008449/0.01231, allocations: 0.612 MB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/0.01305, allocations: 478.9 kB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.0132, allocations: 100 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.0134, allocations: 108 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.01368, allocations: 303 kB / 281.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.01406, allocations: 331.3 kB / 281.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.01507, allocations: 0.7826 MB / 282.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01507, allocations: 0 / 282.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01508, allocations: 0 / 282.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.01509, allocations: 0 / 282.3 MB, free: 8.012 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.002212/0.0173, allocations: 1.524 MB / 283.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.01735, allocations: 11.98 kB / 283.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.01778, allocations: 172.3 kB / 284 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.01866, allocations: 0.556 MB / 284.5 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.01871, allocations: 49.69 kB / 284.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.01884, allocations: 72.31 kB / 284.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.01999, allocations: 0.5797 MB / 285.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.02001, allocations: 0 / 285.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.02007, allocations: 28 kB / 285.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.02013, allocations: 33.3 kB / 285.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/0.02083, allocations: 239.6 kB / 285.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/0.02405, allocations: 2.413 MB / 288 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.02458, allocations: 288.1 kB / 288.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.02498, allocations: 148.2 kB / 288.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.02501, allocations: 8.266 kB / 288.4 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.02544, allocations: 270 kB / 288.7 MB, free: 1.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/0.02544, allocations: 3.938 kB / 288.7 MB, free: 1.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001807/0.02724, allocations: 0.6377 MB / 289.3 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.02731, allocations: 118.8 kB / 289.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.02791, allocations: 0.5299 MB / 289.9 MB, free: 52 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.02795, allocations: 29.7 kB / 290 MB, free: 16 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.128/0.1559, allocations: 428.3 kB / 290.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.1561, allocations: 147.7 kB / 290.5 MB, free: 25.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1562, allocations: 104.7 kB / 290.6 MB, free: 25.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1563, allocations: 0.5501 MB / 291.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1565, allocations: 58.17 kB / 291.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1567, allocations: 282.8 kB / 291.5 MB, free: 24.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.1571, allocations: 344 kB / 291.9 MB, free: 24.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.1571, allocations: 1.062 kB / 291.9 MB, free: 24.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007399/0.1578, allocations: 434.2 kB / 292.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1578, allocations: 7.281 kB / 292.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1578, allocations: 6.062 kB / 292.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.1582, allocations: 99.38 kB / 292.4 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1584, allocations: 75.62 kB / 292.5 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.1601, allocations: 2.55 MB / 295 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.1603, allocations: 48.62 kB / 295.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.1604, allocations: 19.83 kB / 295.1 MB, free: 21.98 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.0001885/0.1605, allocations: 187.8 kB / 295.3 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.1606, allocations: 76.56 kB / 295.3 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.1607, allocations: 69.12 kB / 295.4 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1607, allocations: 4.656 kB / 295.4 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1607, allocations: 3.953 kB / 295.4 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1607, allocations: 2.016 kB / 295.4 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.1621, allocations: 1.177 MB / 296.6 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1621, allocations: 2 kB / 296.6 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1622, allocations: 47.89 kB / 296.6 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.1625, allocations: 93.27 kB / 296.7 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.1625, allocations: 14.45 kB / 296.7 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.1639, allocations: 2.527 MB / 299.3 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1639, allocations: 1.156 kB / 299.3 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.1646, allocations: 0.582 MB / 299.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1647, allocations: 107.5 kB / 300 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.1648, allocations: 16.56 kB / 300 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1649, allocations: 21.56 kB / 300 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.165, allocations: 51.64 kB / 300 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.165, allocations: 15.88 kB / 300.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002906/0.1653, allocations: 344.2 kB / 300.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1653, allocations: 0 / 300.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005562/0.1659, allocations: 211.6 kB / 300.6 MB, free: 18.76 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.0001273/0.166, allocations: 120.1 kB / 300.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.1667, allocations: 0.4922 MB / 301.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1667, allocations: 0.7812 kB / 301.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.1671, allocations: 382.4 kB / 301.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1676, allocations: 146.2 kB / 301.7 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.1695, allocations: 1.279 MB / 303 MB, free: 17.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.1697, allocations: 246.3 kB / 303.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.1699, allocations: 79.19 kB / 303.3 MB, free: 17.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.17, allocations: 39.47 kB / 303.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.17, allocations: 0 / 303.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of Templates: time 0.0123/0.1823, allocations: 9.739 MB / 313.1 MB, free: 12.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.229288883972913]