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.001035/0.001035, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002314, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007617/0.0007617, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009368/0.001698, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08951/1.092, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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 2.866e-06/2.866e-06, allocations: 4 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.45e-05, allocations: 6.109 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005332/0.005356, allocations: 3.721 MB / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.00779, allocations: 1.102 MB / 249.6 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.008125, allocations: 19.88 kB / 249.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.008392, allocations: 115 kB / 249.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007984/0.00919, allocations: 258.2 kB / 249.9 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.009457, allocations: 151.7 kB / 250.1 MB, free: 8.812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000686/0.01014, allocations: 1.008 MB / 251.1 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.0105, allocations: 355.5 kB / 251.4 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000689/0.01119, allocations: 0.6794 MB / 252.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.01166, allocations: 474.9 kB / 252.6 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.129e-05/0.01176, allocations: 103.9 kB / 252.7 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.01193, allocations: 104 kB / 252.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.0121, allocations: 231.4 kB / 253 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.01231, allocations: 279.4 kB / 253.3 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.01291, allocations: 0.7282 MB / 254 MB, free: 4.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.01292, allocations: 0 / 254 MB, free: 4.848 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.01292, allocations: 0 / 254 MB, free: 4.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.01293, allocations: 0 / 254 MB, free: 4.848 MB / 250.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.001239/0.01417, allocations: 1.217 MB / 255.2 MB, free: 3.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.0142, allocations: 8.031 kB / 255.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.01449, allocations: 217.9 kB / 255.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.01496, allocations: 425.3 kB / 255.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.01499, allocations: 45.69 kB / 255.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.01506, allocations: 76.27 kB / 256 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.01561, allocations: 0.5451 MB / 256.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01562, allocations: 4 kB / 256.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.01566, allocations: 28 kB / 256.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/0.0157, allocations: 33.31 kB / 256.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.01594, allocations: 165 kB / 256.8 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.01764, allocations: 1.732 MB / 258.5 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.01791, allocations: 231.4 kB / 258.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.01806, allocations: 110.2 kB / 258.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.01809, allocations: 8.328 kB / 258.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.01834, allocations: 243.6 kB / 259.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.01834, allocations: 0 / 259.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009914/0.01933, allocations: 476.4 kB / 259.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.01939, allocations: 81.11 kB / 259.6 MB, free: 15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.01966, allocations: 411.2 kB / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.01969, allocations: 37.73 kB / 260.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.01984, allocations: 321.8 kB / 260.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.01992, allocations: 142.8 kB / 260.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.02, allocations: 82.16 kB / 260.6 MB, free: 14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.02011, allocations: 374.6 kB / 261 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.02017, allocations: 36.98 kB / 261 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.02031, allocations: 210.9 kB / 261.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.02055, allocations: 275.1 kB / 261.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02055, allocations: 4 kB / 261.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003634/0.02092, allocations: 317.1 kB / 261.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.02093, allocations: 7.938 kB / 261.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.02094, allocations: 8 kB / 261.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.02121, allocations: 95.55 kB / 261.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.02139, allocations: 83.89 kB / 262 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.02286, allocations: 1.87 MB / 263.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.02304, allocations: 43.86 kB / 263.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.02306, allocations: 16 kB / 263.9 MB, free: 10.45 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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.02324, allocations: 160.5 kB / 264.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.0233, allocations: 47.89 kB / 264.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.02338, allocations: 69.39 kB / 264.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.02338, allocations: 4 kB / 264.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.02338, allocations: 0 / 264.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.02339, allocations: 3.938 kB / 264.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009964/0.02438, allocations: 0.7728 MB / 264.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.02439, allocations: 7.922 kB / 265 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.02452, allocations: 51.91 kB / 265 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.02463, allocations: 83.53 kB / 265.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.0248, allocations: 91.3 kB / 265.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.02482, allocations: 11.98 kB / 265.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.026, allocations: 1.801 MB / 267 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.026, allocations: 3.938 kB / 267 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.02647, allocations: 459.2 kB / 267.4 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.02652, allocations: 19.92 kB / 267.5 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.02665, allocations: 12 kB / 267.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.02672, allocations: 39.92 kB / 267.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.02674, allocations: 12 kB / 267.5 MB, free: 6.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.02689, allocations: 188.4 kB / 267.7 MB, free: 6.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02689, allocations: 7.875 kB / 267.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004483/0.02733, allocations: 207.5 kB / 267.9 MB, free: 6.262 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001336/0.02747, allocations: 104.4 kB / 268 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007627/0.02823, allocations: 408.2 kB / 268.4 MB, free: 5.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.02824, allocations: 8.188 kB / 268.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.02851, allocations: 318.9 kB / 268.7 MB, free: 5.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.02927, allocations: 1.447 MB / 270.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.03339, allocations: 1.419 MB / 271.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.03355, allocations: 214.2 kB / 271.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.0337, allocations: 60.7 kB / 271.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.03394, allocations: 169.3 kB / 272 MB, free: 1.754 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03394, allocations: 0 / 272 MB, free: 1.754 MB / 266.7 MB Notification: Performance of Templates: time 0.0154/0.04934, allocations: 10.74 MB / 282.8 MB, free: 7.25 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.726714693941176]