Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0009614/0.0009614, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001004/0.001004, allocations: 164.1 kB / 25.33 MB, free: 9.121 MB / 18.57 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 0.8885/0.8885, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.744e-05, allocations: 2.312 kB / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004368/0.004385, allocations: 4.48 MB / 255.6 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.006398, allocations: 1.27 MB / 256.8 MB, free: 1.699 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.006683, allocations: 23.81 kB / 256.8 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.006994, allocations: 174.6 kB / 257 MB, free: 1.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008029/0.007797, allocations: 381.5 kB / 257.4 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.008122, allocations: 199.6 kB / 257.6 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.009738, allocations: 1.661 MB / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005644/0.0103, allocations: 0.5083 MB / 259.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.01132, allocations: 1.01 MB / 260.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.01238, allocations: 0.834 MB / 261.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.01261, allocations: 176 kB / 261.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.01281, allocations: 172 kB / 261.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.01312, allocations: 0.4946 MB / 262.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.01357, allocations: 0.5495 MB / 263 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009886/0.01456, allocations: 1.316 MB / 264.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01456, allocations: 0 / 264.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01457, allocations: 0 / 264.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.01459, allocations: 0 / 264.3 MB, free: 10.17 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002657/0.01725, allocations: 2.29 MB / 266.6 MB, free: 7.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.01729, allocations: 11.98 kB / 266.6 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.01756, allocations: 244 kB / 266.8 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.01837, allocations: 0.7681 MB / 267.6 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/0.01842, allocations: 78.41 kB / 267.7 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.01854, allocations: 108.3 kB / 267.8 MB, free: 6.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.01972, allocations: 0.9063 MB / 268.7 MB, free: 5.617 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.01974, allocations: 11.94 kB / 268.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.01981, allocations: 40 kB / 268.7 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.01986, allocations: 42.03 kB / 268.8 MB, free: 5.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.02061, allocations: 403.7 kB / 269.2 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.02472, allocations: 4.134 MB / 273.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.02537, allocations: 0.5136 MB / 273.8 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.02591, allocations: 376.6 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.02595, allocations: 8.656 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006268/0.02658, allocations: 371.5 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.565e-06/0.02658, allocations: 0 / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002719/0.0293, allocations: 1.433 MB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.02936, allocations: 93.75 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006243/0.02999, allocations: 0.7612 MB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.03003, allocations: 45.69 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.03037, allocations: 0.6009 MB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.03054, allocations: 250 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.03069, allocations: 136.3 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.03084, allocations: 0.5082 MB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.03103, allocations: 109.9 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.03134, allocations: 338.6 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.03213, allocations: 443.6 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.03213, allocations: 0 / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008176/0.03295, allocations: 0.6297 MB / 279.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.03297, allocations: 8 kB / 279.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.03297, allocations: 4 kB / 279.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.03339, allocations: 193.4 kB / 280.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.03365, allocations: 111.8 kB / 280.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.03619, allocations: 3.236 MB / 283.4 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.03647, allocations: 75.56 kB / 283.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.03652, allocations: 24 kB / 283.5 MB, free: 6.188 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.000234/0.03676, allocations: 214.4 kB / 283.7 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.03687, allocations: 119.4 kB / 283.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.03698, allocations: 108.2 kB / 284 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.03699, allocations: 4 kB / 284 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.03699, allocations: 4 kB / 284 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.037, allocations: 7.922 kB / 284 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.03904, allocations: 1.597 MB / 285.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03904, allocations: 7.875 kB / 285.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.03926, allocations: 83.88 kB / 285.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.03962, allocations: 179.8 kB / 285.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.03966, allocations: 15.98 kB / 285.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.04233, allocations: 3.197 MB / 289.1 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.04233, allocations: 0 / 289.1 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.04333, allocations: 0.8427 MB / 289.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.04356, allocations: 195.2 kB / 290.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.04362, allocations: 15.98 kB / 290.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.04382, allocations: 35.97 kB / 290.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.04398, allocations: 92.42 kB / 290.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.04401, allocations: 27.98 kB / 290.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004217/0.04443, allocations: 486.9 kB / 290.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04443, allocations: 0 / 290.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006287/0.04506, allocations: 347.2 kB / 291.1 MB, free: 14.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.04523, allocations: 131 kB / 291.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009379/0.04617, allocations: 0.7483 MB / 291.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.04617, allocations: 4 kB / 291.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.04671, allocations: 0.5721 MB / 292.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.04732, allocations: 247.5 kB / 292.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.05055, allocations: 2.26 MB / 295 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.05083, allocations: 387.7 kB / 295.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.05107, allocations: 127.1 kB / 295.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.0512, allocations: 64.5 kB / 295.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0512, allocations: 0 / 295.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of Templates: time 0.02142/0.07262, allocations: 18.12 MB / 313.7 MB, free: 7.703 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.868008450139314]