Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001113/0.001113, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002732, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007208/0.0007208, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001722, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9762/0.9762, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08394/1.06, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.999e-05, allocations: 6.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005805/0.005825, allocations: 4.549 MB / 249.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.008411, allocations: 1.366 MB / 251.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.008753, allocations: 31.81 kB / 251.2 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.009091, allocations: 174.6 kB / 251.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009016/0.009992, allocations: 381.5 kB / 251.7 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.01042, allocations: 215.6 kB / 251.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.01209, allocations: 1.7 MB / 253.6 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008739/0.01296, allocations: 0.5911 MB / 254.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.01445, allocations: 1.145 MB / 255.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.01571, allocations: 0.8301 MB / 256.2 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000298/0.01601, allocations: 180 kB / 256.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.01635, allocations: 176 kB / 256.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.01674, allocations: 422.9 kB / 256.9 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.01731, allocations: 455.2 kB / 257.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.01869, allocations: 1.25 MB / 258.6 MB, free: 32 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.01871, allocations: 4 kB / 258.6 MB, free: 28 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01871, allocations: 0 / 258.6 MB, free: 28 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.208e-05/0.01874, allocations: 4 kB / 258.6 MB, free: 24 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002811/0.02155, allocations: 1.9 MB / 260.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.02159, allocations: 12.62 kB / 260.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006809/0.02227, allocations: 309.8 kB / 260.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.02336, allocations: 0.626 MB / 261.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.02342, allocations: 82.42 kB / 261.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.0236, allocations: 104.4 kB / 261.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.025, allocations: 0.8521 MB / 262.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.02503, allocations: 3.938 kB / 262.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.02513, allocations: 44 kB / 262.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.0252, allocations: 46.03 kB / 262.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.02574, allocations: 262.1 kB / 262.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.02864, allocations: 3.033 MB / 265.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.02907, allocations: 418.3 kB / 266.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.02943, allocations: 298.8 kB / 266.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.02947, allocations: 12.66 kB / 266.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.02979, allocations: 324.8 kB / 266.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.0298, allocations: 0 / 266.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001847/0.03164, allocations: 0.9503 MB / 267.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.03168, allocations: 64 kB / 267.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.03208, allocations: 0.6092 MB / 268.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.03212, allocations: 45.7 kB / 268.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.03232, allocations: 434.5 kB / 269 MB, free: 5.246 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.03244, allocations: 245.9 kB / 269.3 MB, free: 5.004 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.03257, allocations: 122.5 kB / 269.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.03265, allocations: 337.9 kB / 269.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.03275, allocations: 69.97 kB / 269.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.03293, allocations: 246.8 kB / 270 MB, free: 4.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.03325, allocations: 341.5 kB / 270.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.03325, allocations: 3.984 kB / 270.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005236/0.03378, allocations: 457.1 kB / 270.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.03379, allocations: 8.469 kB / 270.8 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.0338, allocations: 4 kB / 270.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.03414, allocations: 174.1 kB / 271 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.03442, allocations: 135.8 kB / 271.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.03633, allocations: 2.381 MB / 273.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.03656, allocations: 63.61 kB / 273.6 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.03659, allocations: 27.98 kB / 273.6 MB, free: 456 kB / 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_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_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: 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.0001873/0.03678, allocations: 150.6 kB / 273.7 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.03686, allocations: 87.84 kB / 273.8 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.03697, allocations: 112.5 kB / 273.9 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.03698, allocations: 8 kB / 273.9 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.03698, allocations: 0 / 273.9 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.03699, allocations: 3.984 kB / 273.9 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.03818, allocations: 1.009 MB / 275 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.03818, allocations: 0 / 275 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.0384, allocations: 87.88 kB / 275 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.03858, allocations: 131.2 kB / 275.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/0.03887, allocations: 167.8 kB / 275.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.0389, allocations: 23.92 kB / 275.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.04075, allocations: 2.368 MB / 277.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.04075, allocations: 7.922 kB / 277.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008046/0.04156, allocations: 0.6062 MB / 278.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.04163, allocations: 12 kB / 278.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.04181, allocations: 39.86 kB / 278.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.04192, allocations: 64.53 kB / 278.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.04195, allocations: 12 kB / 278.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002523/0.0422, allocations: 312.5 kB / 278.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0422, allocations: 0 / 278.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005928/0.04279, allocations: 355.1 kB / 279.1 MB, free: 10.76 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.000142/0.04293, allocations: 112.3 kB / 279.2 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006845/0.04362, allocations: 0.6108 MB / 279.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/0.04364, allocations: 15.98 kB / 279.9 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.04409, allocations: 0.5107 MB / 280.4 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.0453, allocations: 2.495 MB / 282.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/0.05179, allocations: 2.374 MB / 285.2 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.05208, allocations: 335.8 kB / 285.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.05232, allocations: 95.25 kB / 285.7 MB, free: 3.621 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.05269, allocations: 245.2 kB / 285.9 MB, free: 3.379 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.05269, allocations: 0 / 285.9 MB, free: 3.379 MB / 282.7 MB Notification: Performance of Templates: time 0.1261/0.1788, allocations: 19.2 MB / 305.1 MB, free: 30.35 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.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: 3.0665750661864877]