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.002532/0.002532, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002179/0.002179, allocations: 169.6 kB / 24.28 MB, free: 152 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.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.924e-06/1.924e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.143e-05, allocations: 3.156 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006376/0.006408, allocations: 3.672 MB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.008779, allocations: 1.056 MB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.008988, allocations: 19.88 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.009284, allocations: 119 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007801/0.01006, allocations: 258.3 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.0104, allocations: 155.6 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.01154, allocations: 0.9919 MB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.01211, allocations: 347.5 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.0129, allocations: 0.6119 MB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.01367, allocations: 474.9 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.01382, allocations: 100 kB / 280.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.01403, allocations: 104 kB / 280.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.01436, allocations: 307.1 kB / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005761/0.01493, allocations: 327.2 kB / 280.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.01647, allocations: 1.34 MB / 282.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01647, allocations: 0 / 282.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01647, allocations: 0 / 282.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.01649, allocations: 4 kB / 282.2 MB, free: 7.887 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.002903/0.01939, allocations: 1.692 MB / 283.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.01943, allocations: 12.03 kB / 283.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.01994, allocations: 172.3 kB / 284.1 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.02107, allocations: 0.5755 MB / 284.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.02114, allocations: 53.69 kB / 284.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.02127, allocations: 64.38 kB / 284.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.02296, allocations: 0.9343 MB / 285.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.02299, allocations: 7.938 kB / 285.7 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.02307, allocations: 28 kB / 285.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.02312, allocations: 25.31 kB / 285.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.02444, allocations: 0.696 MB / 286.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005108/0.02955, allocations: 2.91 MB / 289.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.0304, allocations: 455.9 kB / 289.8 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1191/0.1495, allocations: 266.2 kB / 290 MB, free: 27.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.1495, allocations: 7.953 kB / 290.1 MB, free: 27.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.1501, allocations: 400.5 kB / 290.4 MB, free: 27.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.1501, allocations: 2.344 kB / 290.4 MB, free: 27.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.002625/0.1527, allocations: 1.013 MB / 291.5 MB, free: 27.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1528, allocations: 114.3 kB / 291.6 MB, free: 27.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/0.1536, allocations: 0.687 MB / 292.3 MB, free: 27.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.1537, allocations: 37.48 kB / 292.3 MB, free: 27.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.154, allocations: 452.9 kB / 292.7 MB, free: 27.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1541, allocations: 158.2 kB / 292.9 MB, free: 27.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.1543, allocations: 111.8 kB / 293 MB, free: 26.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.1545, allocations: 0.5816 MB / 293.6 MB, free: 26.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.1548, allocations: 183 kB / 293.8 MB, free: 26.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.1553, allocations: 402.6 kB / 294.2 MB, free: 26.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.156, allocations: 0.553 MB / 294.7 MB, free: 25.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.156, allocations: 2.719 kB / 294.7 MB, free: 25.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001094/0.1571, allocations: 0.685 MB / 295.4 MB, free: 25.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1571, allocations: 6.406 kB / 295.4 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1571, allocations: 4.781 kB / 295.4 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004937/0.1576, allocations: 187.5 kB / 295.6 MB, free: 25.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1579, allocations: 84.41 kB / 295.7 MB, free: 25.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.1608, allocations: 3.282 MB / 299 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.1612, allocations: 43.66 kB / 299 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.1612, allocations: 23.92 kB / 299 MB, free: 22.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.0004138/0.1616, allocations: 340.4 kB / 299.4 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1617, allocations: 76.08 kB / 299.4 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.1618, allocations: 65.23 kB / 299.5 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1618, allocations: 5.188 kB / 299.5 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1618, allocations: 1.125 kB / 299.5 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.1619, allocations: 2.891 kB / 299.5 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.1641, allocations: 1.59 MB / 301.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1641, allocations: 1.125 kB / 301.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.1644, allocations: 47.16 kB / 301.1 MB, free: 21.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.1648, allocations: 182.5 kB / 301.3 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.1648, allocations: 8.969 kB / 301.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.1674, allocations: 3.174 MB / 304.5 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1674, allocations: 1.75 kB / 304.5 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.1686, allocations: 0.9919 MB / 305.5 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.1689, allocations: 109.3 kB / 305.6 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.169, allocations: 11.84 kB / 305.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.1693, allocations: 20.83 kB / 305.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.1694, allocations: 51.98 kB / 305.7 MB, free: 18.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.1694, allocations: 17.42 kB / 305.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004619/0.1699, allocations: 453.5 kB / 306.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1699, allocations: 0 / 306.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007363/0.1706, allocations: 215.4 kB / 306.4 MB, free: 18.07 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.0001334/0.1707, allocations: 120.5 kB / 306.5 MB, free: 17.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1718, allocations: 0.7196 MB / 307.2 MB, free: 17.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1718, allocations: 1.406 kB / 307.2 MB, free: 17.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005524/0.1724, allocations: 496 kB / 307.7 MB, free: 17.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.173, allocations: 139.6 kB / 307.8 MB, free: 17.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1748, allocations: 1.381 MB / 309.2 MB, free: 16.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1752, allocations: 455.7 kB / 309.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.1753, allocations: 72.41 kB / 309.7 MB, free: 16.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.1754, allocations: 43.45 kB / 309.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1754, allocations: 0 / 309.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Templates: time 0.01396/0.1894, allocations: 9.733 MB / 319.5 MB, free: 6.645 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","/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.824595510028303]