Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001975/0.001975, allocations: 82.19 kB / 21.43 MB, free: 296 kB / 14.72 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.002519/0.002519, allocations: 160.4 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.621e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005397/0.005424, allocations: 3.363 MB / 302.3 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.007624, allocations: 1.022 MB / 303.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.007838, allocations: 15.88 kB / 303.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.008128, allocations: 107.1 kB / 303.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008844/0.009013, allocations: 250.3 kB / 303.7 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.009338, allocations: 151.6 kB / 303.9 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.01043, allocations: 0.9803 MB / 304.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.0109, allocations: 306.9 kB / 305.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007002/0.0116, allocations: 0.5925 MB / 305.7 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.01228, allocations: 442.9 kB / 306.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.01243, allocations: 104 kB / 306.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.0126, allocations: 100 kB / 306.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.0129, allocations: 283.1 kB / 306.7 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.01329, allocations: 323.3 kB / 307 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.0147, allocations: 1.293 MB / 308.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.01471, allocations: 4 kB / 308.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01471, allocations: 0 / 308.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.01473, allocations: 4 kB / 308.3 MB, free: 15.34 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002584/0.01731, allocations: 1.276 MB / 309.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.01736, allocations: 15.98 kB / 309.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.01754, allocations: 100.3 kB / 309.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/0.01851, allocations: 0.5473 MB / 310.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.01856, allocations: 53.56 kB / 310.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.01868, allocations: 68.33 kB / 310.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.02029, allocations: 0.9362 MB / 311.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.02031, allocations: 0 / 311.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.02038, allocations: 27.98 kB / 311.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.02043, allocations: 29.31 kB / 311.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.0218, allocations: 0.7935 MB / 312.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.02574, allocations: 2.391 MB / 314.5 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.02659, allocations: 0.4917 MB / 315 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.02719, allocations: 317.2 kB / 315.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.02722, allocations: 8.328 kB / 315.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006601/0.02788, allocations: 407.6 kB / 315.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.02788, allocations: 0 / 315.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002844/0.03073, allocations: 1.122 MB / 316.8 MB, free: 6.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.03081, allocations: 110.8 kB / 316.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007105/0.03152, allocations: 0.5487 MB / 317.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.03158, allocations: 37.7 kB / 317.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.03187, allocations: 356.6 kB / 317.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.032, allocations: 146.8 kB / 318 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.03216, allocations: 90.14 kB / 318.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.03236, allocations: 370.7 kB / 318.5 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.03275, allocations: 216.8 kB / 318.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.03328, allocations: 386.8 kB / 319.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008992/0.03418, allocations: 0.5652 MB / 319.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.03418, allocations: 0 / 319.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001344/0.03552, allocations: 0.7361 MB / 320.4 MB, free: 2.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.03554, allocations: 4 kB / 320.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.03555, allocations: 4 kB / 320.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.03609, allocations: 204.7 kB / 320.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.0364, allocations: 83.7 kB / 320.6 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1348/0.1712, allocations: 2.767 MB / 323.4 MB, free: 33.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.1718, allocations: 57.75 kB / 323.5 MB, free: 33.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.1718, allocations: 19.12 kB / 323.5 MB, free: 33.23 MB / 302.1 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0005256/0.1723, allocations: 325.2 kB / 323.8 MB, free: 33.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.1724, allocations: 54.72 kB / 323.9 MB, free: 33.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.1726, allocations: 70.92 kB / 323.9 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.1726, allocations: 5.5 kB / 323.9 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1726, allocations: 0.5625 kB / 323.9 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1726, allocations: 6.391 kB / 323.9 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.1748, allocations: 1.427 MB / 325.4 MB, free: 32.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1748, allocations: 2.812 kB / 325.4 MB, free: 32.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.175, allocations: 41.97 kB / 325.4 MB, free: 32.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.1755, allocations: 196.8 kB / 325.6 MB, free: 32.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.1755, allocations: 14.66 kB / 325.6 MB, free: 32.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/0.1784, allocations: 2.77 MB / 328.4 MB, free: 30.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1784, allocations: 4.922 kB / 328.4 MB, free: 30.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.18, allocations: 1.084 MB / 329.5 MB, free: 30.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.1802, allocations: 123.2 kB / 329.6 MB, free: 30.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.1803, allocations: 7.5 kB / 329.6 MB, free: 30.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.1806, allocations: 31.28 kB / 329.6 MB, free: 30.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.1807, allocations: 46.28 kB / 329.7 MB, free: 30.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.1808, allocations: 16.02 kB / 329.7 MB, free: 30.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000486/0.1813, allocations: 404.2 kB / 330.1 MB, free: 29.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1813, allocations: 0 / 330.1 MB, free: 29.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000706/0.182, allocations: 210.6 kB / 330.3 MB, free: 29.94 MB / 302.1 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0001579/0.1821, allocations: 121.7 kB / 330.4 MB, free: 29.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1833, allocations: 0.716 MB / 331.1 MB, free: 29.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1833, allocations: 0 / 331.1 MB, free: 29.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.184, allocations: 458.1 kB / 331.6 MB, free: 29.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.1847, allocations: 131.2 kB / 331.7 MB, free: 29.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.1872, allocations: 1.493 MB / 333.2 MB, free: 28.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.1878, allocations: 473.7 kB / 333.7 MB, free: 28.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.1881, allocations: 93.27 kB / 333.8 MB, free: 28.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1882, allocations: 41.67 kB / 333.8 MB, free: 28.37 MB / 302.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1882, allocations: 1.344 kB / 333.8 MB, free: 28.37 MB / 302.1 MB Notification: Performance of Templates: time 0.01616/0.2043, allocations: 9.521 MB / 343.3 MB, free: 23.95 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.574556324630976]