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.002507/0.002507, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002758/0.002758, allocations: 160.8 kB / 24.27 MB, free: 156 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.604/1.604, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.502e-06/1.502e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.209e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006252/0.006284, allocations: 3.669 MB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.008844, allocations: 1.063 MB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.009161, allocations: 23.81 kB / 277 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.009507, allocations: 111.1 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.01063, allocations: 254.3 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.01129, allocations: 159.6 kB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.01264, allocations: 0.9997 MB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006384/0.01328, allocations: 343.5 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.01444, allocations: 0.6158 MB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008536/0.01529, allocations: 474.9 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.01547, allocations: 108 kB / 280 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.01572, allocations: 104 kB / 280.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.01609, allocations: 303 kB / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.01657, allocations: 327.3 kB / 280.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.01836, allocations: 1.336 MB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.01836, allocations: 0 / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01837, allocations: 0 / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.01838, allocations: 0 / 282.1 MB, free: 7.867 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.00338/0.02176, allocations: 1.704 MB / 283.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.02181, allocations: 11.98 kB / 283.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/0.02235, allocations: 176.3 kB / 284 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.02354, allocations: 0.5677 MB / 284.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.02361, allocations: 57.67 kB / 284.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.02374, allocations: 64.38 kB / 284.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.0255, allocations: 0.9382 MB / 285.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.02553, allocations: 3.953 kB / 285.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.02561, allocations: 28 kB / 285.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/0.02567, allocations: 33.3 kB / 285.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.02711, allocations: 0.6882 MB / 286.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.03248, allocations: 2.925 MB / 289.3 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008643/0.03334, allocations: 448 kB / 289.7 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1201/0.1535, allocations: 262.2 kB / 290 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/0.1535, allocations: 8.953 kB / 290 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006386/0.1542, allocations: 398 kB / 290.4 MB, free: 27.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.795e-06/0.1542, allocations: 0 / 290.4 MB, free: 27.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.002664/0.1568, allocations: 1.013 MB / 291.4 MB, free: 27.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1569, allocations: 111.4 kB / 291.5 MB, free: 27.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008514/0.1577, allocations: 0.6886 MB / 292.2 MB, free: 27.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1578, allocations: 36.64 kB / 292.2 MB, free: 27.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.1581, allocations: 453.4 kB / 292.6 MB, free: 27.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1582, allocations: 155.8 kB / 292.8 MB, free: 27.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.1584, allocations: 110.2 kB / 292.9 MB, free: 26.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1586, allocations: 0.5863 MB / 293.5 MB, free: 26.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.1589, allocations: 176.4 kB / 293.7 MB, free: 26.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.1593, allocations: 413.5 kB / 294.1 MB, free: 26.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/0.16, allocations: 0.552 MB / 294.6 MB, free: 25.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.16, allocations: 1.125 kB / 294.6 MB, free: 25.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001135/0.1611, allocations: 0.6786 MB / 295.3 MB, free: 25.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1611, allocations: 10.25 kB / 295.3 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.1612, allocations: 4.438 kB / 295.3 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.1617, allocations: 194.9 kB / 295.5 MB, free: 25.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.162, allocations: 70.61 kB / 295.6 MB, free: 25.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/0.165, allocations: 3.287 MB / 298.9 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.1654, allocations: 46.48 kB / 298.9 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.1654, allocations: 20.14 kB / 298.9 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.0004159/0.1658, allocations: 335 kB / 299.2 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1659, allocations: 81.72 kB / 299.3 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.1661, allocations: 62.88 kB / 299.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1661, allocations: 4.25 kB / 299.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1661, allocations: 2.594 kB / 299.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1661, allocations: 3.125 kB / 299.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.1685, allocations: 1.591 MB / 301 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1685, allocations: 3.125 kB / 301 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.1687, allocations: 44.66 kB / 301 MB, free: 21.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000426/0.1691, allocations: 178.4 kB / 301.2 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.1692, allocations: 9.234 kB / 301.2 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.172, allocations: 3.175 MB / 304.4 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.172, allocations: 0.6875 kB / 304.4 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.1734, allocations: 0.9935 MB / 305.4 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.1737, allocations: 111.9 kB / 305.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.1737, allocations: 14.69 kB / 305.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.174, allocations: 22.41 kB / 305.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.1741, allocations: 53.03 kB / 305.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.1742, allocations: 19.75 kB / 305.6 MB, free: 18.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004678/0.1746, allocations: 450.7 kB / 306 MB, free: 18.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1746, allocations: 4 kB / 306 MB, free: 18.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007512/0.1754, allocations: 213.5 kB / 306.3 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.0001609/0.1755, allocations: 118.3 kB / 306.4 MB, free: 17.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.1767, allocations: 0.7207 MB / 307.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1767, allocations: 0 / 307.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.1773, allocations: 494.2 kB / 307.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.1781, allocations: 149.6 kB / 307.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.18, allocations: 1.363 MB / 309.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1803, allocations: 461.6 kB / 309.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000204/0.1805, allocations: 81.25 kB / 309.6 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.1806, allocations: 35.84 kB / 309.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1806, allocations: 0 / 309.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Templates: time 0.01434/0.1949, allocations: 9.741 MB / 319.4 MB, free: 6.562 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.752203683019616]