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.001416/0.001416, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001512/0.001512, allocations: 165.7 kB / 24.27 MB, free: 172 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 1.531/1.531, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.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.883e-06/1.883e-06, allocations: 0 / 272.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.239e-05, allocations: 5.688 kB / 272.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005598/0.00563, allocations: 3.444 MB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.008023, allocations: 1.056 MB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.008234, allocations: 19.88 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.008533, allocations: 111 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007792/0.009312, allocations: 254.3 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.009676, allocations: 163.6 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.01112, allocations: 0.9919 MB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000585/0.01171, allocations: 339.5 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008205/0.01253, allocations: 0.608 MB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007216/0.01325, allocations: 450.9 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.0134, allocations: 104 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.0136, allocations: 104 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.01391, allocations: 295.1 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.01433, allocations: 327.3 kB / 280.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.01589, allocations: 1.332 MB / 281.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01589, allocations: 0 / 281.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01589, allocations: 0 / 281.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.0159, allocations: 0 / 281.9 MB, free: 8.16 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.002519/0.01842, allocations: 1.307 MB / 283.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.01846, allocations: 12.03 kB / 283.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.01901, allocations: 180.3 kB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.02011, allocations: 0.6157 MB / 284 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.02017, allocations: 53.69 kB / 284.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.0203, allocations: 68.36 kB / 284.1 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.02203, allocations: 0.9517 MB / 285.1 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.02205, allocations: 3.953 kB / 285.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.02235, allocations: 28 kB / 285.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.0224, allocations: 29.31 kB / 285.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.02393, allocations: 0.7936 MB / 285.9 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.02827, allocations: 2.446 MB / 288.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/0.02921, allocations: 0.4917 MB / 288.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.02987, allocations: 317.2 kB / 289.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.0299, allocations: 12.27 kB / 289.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007392/0.03064, allocations: 399.6 kB / 289.6 MB, free: 260 kB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.814e-06/0.03064, allocations: 0 / 289.6 MB, free: 260 kB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.1242/0.1548, allocations: 1.126 MB / 290.7 MB, free: 28.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1548, allocations: 113.6 kB / 290.8 MB, free: 28.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.1555, allocations: 0.5729 MB / 291.4 MB, free: 28.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1556, allocations: 36.69 kB / 291.4 MB, free: 28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.1558, allocations: 370 kB / 291.8 MB, free: 27.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.486e-05/0.1559, allocations: 145.1 kB / 291.9 MB, free: 27.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.156, allocations: 91.17 kB / 292 MB, free: 27.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.1561, allocations: 367.5 kB / 292.4 MB, free: 27.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.1565, allocations: 219 kB / 292.6 MB, free: 27.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.1569, allocations: 382.4 kB / 293 MB, free: 27.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007831/0.1577, allocations: 0.5678 MB / 293.5 MB, free: 26.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1577, allocations: 0.9688 kB / 293.5 MB, free: 26.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001243/0.159, allocations: 0.769 MB / 294.3 MB, free: 26.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.159, allocations: 7.094 kB / 294.3 MB, free: 26.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.159, allocations: 5.703 kB / 294.3 MB, free: 26.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/0.1595, allocations: 197.9 kB / 294.5 MB, free: 26.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1598, allocations: 83.75 kB / 294.6 MB, free: 26.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.1627, allocations: 2.79 MB / 297.4 MB, free: 24.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.163, allocations: 50.11 kB / 297.4 MB, free: 24.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.163, allocations: 22.39 kB / 297.5 MB, free: 24.4 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.0004238/0.1635, allocations: 329.3 kB / 297.8 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.1636, allocations: 75.77 kB / 297.8 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1637, allocations: 74.94 kB / 297.9 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1637, allocations: 5.312 kB / 297.9 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1637, allocations: 0 / 297.9 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1637, allocations: 3.438 kB / 297.9 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.1659, allocations: 1.437 MB / 299.4 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1659, allocations: 3.688 kB / 299.4 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.1661, allocations: 50.83 kB / 299.4 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.1666, allocations: 193.6 kB / 299.6 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.1666, allocations: 9.203 kB / 299.6 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.1694, allocations: 2.783 MB / 302.4 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1694, allocations: 0 / 302.4 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.1709, allocations: 1.109 MB / 303.5 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.1711, allocations: 114.3 kB / 303.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.1712, allocations: 11.91 kB / 303.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.1715, allocations: 24.08 kB / 303.7 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.1717, allocations: 51.52 kB / 303.7 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.1717, allocations: 12.84 kB / 303.7 MB, free: 20.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005887/0.1723, allocations: 422.5 kB / 304.1 MB, free: 20.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1723, allocations: 0 / 304.1 MB, free: 20.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008629/0.1731, allocations: 210.7 kB / 304.3 MB, free: 20.54 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.0001953/0.1733, allocations: 120.8 kB / 304.5 MB, free: 20.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.1746, allocations: 0.7067 MB / 305.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1746, allocations: 1.281 kB / 305.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.1752, allocations: 463.8 kB / 305.6 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.1759, allocations: 144.7 kB / 305.8 MB, free: 19.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1778, allocations: 1.471 MB / 307.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1782, allocations: 489.5 kB / 307.7 MB, free: 18.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000206/0.1784, allocations: 100.2 kB / 307.8 MB, free: 18.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.1785, allocations: 36.5 kB / 307.8 MB, free: 18.47 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1785, allocations: 0 / 307.8 MB, free: 18.47 MB / 266.7 MB Notification: Performance of Templates: time 0.01323/0.1917, allocations: 9.691 MB / 317.5 MB, free: 9.047 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 4.597287311917171]