Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.0009438/0.0009438, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.0009857/0.0009857, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9997/0.9997, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.719e-05, allocations: 6.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004455/0.004482, allocations: 3.72 MB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.006154, allocations: 1.067 MB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.006355, allocations: 19.88 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.006558, allocations: 107.1 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.007227, allocations: 262.3 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.007515, allocations: 155.6 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007825/0.008297, allocations: 0.992 MB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.008695, allocations: 343.4 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005885/0.009283, allocations: 0.6119 MB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.009813, allocations: 482.9 kB / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.009926, allocations: 100 kB / 280.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.01006, allocations: 108 kB / 280.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.01026, allocations: 295.1 kB / 281.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.0105, allocations: 335.2 kB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.01121, allocations: 0.7827 MB / 282.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01121, allocations: 0 / 282.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.01122, allocations: 0 / 282.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.01123, allocations: 0 / 282.3 MB, free: 8.125 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.001737/0.01296, allocations: 1.524 MB / 283.9 MB, free: 6.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.013, allocations: 12.03 kB / 283.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.01342, allocations: 168.3 kB / 284 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.01402, allocations: 0.56 MB / 284.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.01405, allocations: 45.69 kB / 284.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.01413, allocations: 72.33 kB / 284.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.01485, allocations: 0.5797 MB / 285.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.01487, allocations: 7.984 kB / 285.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.01491, allocations: 24 kB / 285.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.01496, allocations: 33.31 kB / 285.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.0154, allocations: 247.6 kB / 285.6 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.01797, allocations: 2.398 MB / 288 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.01834, allocations: 292.1 kB / 288.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.01858, allocations: 149 kB / 288.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.01861, allocations: 4.328 kB / 288.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.01891, allocations: 281.8 kB / 288.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.01892, allocations: 0 / 288.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.00128/0.0202, allocations: 0.6455 MB / 289.3 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.02026, allocations: 114.8 kB / 289.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.02073, allocations: 0.5299 MB / 290 MB, free: 164 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.02077, allocations: 37.7 kB / 290 MB, free: 120 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1389/0.1597, allocations: 420.6 kB / 290.4 MB, free: 25.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.1599, allocations: 144.7 kB / 290.6 MB, free: 25.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.16, allocations: 99.55 kB / 290.7 MB, free: 25.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1602, allocations: 0.5499 MB / 291.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1604, allocations: 60.97 kB / 291.3 MB, free: 24.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.1606, allocations: 281.5 kB / 291.6 MB, free: 24.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.161, allocations: 348.1 kB / 291.9 MB, free: 24.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.161, allocations: 1.125 kB / 291.9 MB, free: 24.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008621/0.1619, allocations: 432.1 kB / 292.3 MB, free: 23.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1619, allocations: 8.188 kB / 292.3 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1619, allocations: 4.938 kB / 292.3 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.1623, allocations: 104.2 kB / 292.4 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1625, allocations: 76.08 kB / 292.5 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.1644, allocations: 2.546 MB / 295.1 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.1646, allocations: 47.31 kB / 295.1 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.1647, allocations: 19 kB / 295.1 MB, free: 22 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.0002068/0.1649, allocations: 190.2 kB / 295.3 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.165, allocations: 78.5 kB / 295.4 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.361e-05/0.165, allocations: 70.03 kB / 295.5 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.165, allocations: 4.969 kB / 295.5 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1651, allocations: 1.062 kB / 295.5 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.1651, allocations: 2.109 kB / 295.5 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.1667, allocations: 1.18 MB / 296.6 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1667, allocations: 0 / 296.6 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1669, allocations: 51.91 kB / 296.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.1672, allocations: 94.45 kB / 296.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.1672, allocations: 10.88 kB / 296.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.169, allocations: 2.524 MB / 299.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.169, allocations: 1.125 kB / 299.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.1699, allocations: 0.5794 MB / 299.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.1701, allocations: 110.8 kB / 300 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.1701, allocations: 15.86 kB / 300 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.1703, allocations: 27.66 kB / 300 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.1705, allocations: 52.42 kB / 300.1 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.1705, allocations: 10.52 kB / 300.1 MB, free: 19.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000345/0.1708, allocations: 346.1 kB / 300.4 MB, free: 18.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1709, allocations: 0 / 300.4 MB, free: 18.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007332/0.1716, allocations: 210.8 kB / 300.7 MB, free: 18.82 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.0001485/0.1717, allocations: 125.1 kB / 300.8 MB, free: 18.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.1725, allocations: 499.9 kB / 301.3 MB, free: 18.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1725, allocations: 1.219 kB / 301.3 MB, free: 18.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.173, allocations: 385.4 kB / 301.6 MB, free: 18.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.1736, allocations: 143.9 kB / 301.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.1761, allocations: 1.28 MB / 303.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1764, allocations: 245.5 kB / 303.3 MB, free: 17.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.1767, allocations: 73.69 kB / 303.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1768, allocations: 42.69 kB / 303.4 MB, free: 17.35 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1768, allocations: 1.094 kB / 303.4 MB, free: 17.35 MB / 266.7 MB Notification: Performance of Templates: time 0.01326/0.19, allocations: 9.741 MB / 313.2 MB, free: 12.26 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.1547527560032904]