Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002542, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009435/0.0009435, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002301, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8452/0.8452, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1367/0.9818, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.649e-06/1.112e-05, allocations: 2.312 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004646/0.004657, allocations: 3.677 MB / 243.4 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.006494, allocations: 1.04 MB / 244.5 MB, free: 1.633 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.006705, allocations: 19.88 kB / 244.5 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.006935, allocations: 111.6 kB / 244.6 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006343/0.007569, allocations: 245.2 kB / 244.8 MB, free: 1.266 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.007851, allocations: 144.6 kB / 245 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009117/0.008763, allocations: 0.988 MB / 246 MB, free: 136 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/0.009246, allocations: 340.4 kB / 246.3 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007498/0.009996, allocations: 0.6754 MB / 247 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.01061, allocations: 476.3 kB / 247.4 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.01075, allocations: 100 kB / 247.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.0109, allocations: 100.7 kB / 247.6 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.01113, allocations: 235.4 kB / 247.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.01143, allocations: 268.2 kB / 248.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.0122, allocations: 0.7204 MB / 248.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.01221, allocations: 2.531 kB / 248.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01221, allocations: 0 / 248.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.01223, allocations: 0 / 248.9 MB, free: 13.23 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.001197/0.01343, allocations: 1.208 MB / 250.1 MB, free: 12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.423e-05/0.01345, allocations: 8.031 kB / 250.1 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.01358, allocations: 112.8 kB / 250.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.014, allocations: 390.4 kB / 250.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.01403, allocations: 50.66 kB / 250.6 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.0141, allocations: 76.36 kB / 250.7 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.01465, allocations: 0.546 MB / 251.2 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.01467, allocations: 0 / 251.2 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.01471, allocations: 25.78 kB / 251.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.01474, allocations: 33.3 kB / 251.3 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.01497, allocations: 161 kB / 251.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.01657, allocations: 1.736 MB / 253.2 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.0168, allocations: 227.8 kB / 253.4 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.01694, allocations: 113.5 kB / 253.5 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.01696, allocations: 8.266 kB / 253.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.01718, allocations: 235.6 kB / 253.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.242e-06/0.01718, allocations: 8 kB / 253.8 MB, free: 8.137 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008576/0.01804, allocations: 477.4 kB / 254.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.01808, allocations: 85.11 kB / 254.3 MB, free: 7.559 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.01831, allocations: 403.2 kB / 254.7 MB, free: 7.152 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.01834, allocations: 37.7 kB / 254.7 MB, free: 7.109 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.01847, allocations: 301.5 kB / 255 MB, free: 6.809 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.01854, allocations: 146.7 kB / 255.2 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.01862, allocations: 82.16 kB / 255.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.01871, allocations: 374.6 kB / 255.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.01877, allocations: 36.98 kB / 255.7 MB, free: 6.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.0189, allocations: 214.9 kB / 255.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.01911, allocations: 265.8 kB / 256.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01911, allocations: 4 kB / 256.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003293/0.01944, allocations: 314 kB / 256.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01945, allocations: 15.88 kB / 256.5 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01946, allocations: 4 kB / 256.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.01966, allocations: 95.53 kB / 256.6 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.01983, allocations: 79.91 kB / 256.6 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.02106, allocations: 1.89 MB / 258.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.02119, allocations: 39.92 kB / 258.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.02121, allocations: 23.98 kB / 258.6 MB, free: 3.023 MB / 250.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.0001265/0.02134, allocations: 148.5 kB / 258.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.02138, allocations: 43.95 kB / 258.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.02145, allocations: 65.19 kB / 258.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02145, allocations: 4 kB / 258.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.02145, allocations: 4 kB / 258.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.02146, allocations: 11.86 kB / 258.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.02222, allocations: 0.7717 MB / 259.6 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02222, allocations: 3.984 kB / 259.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.02234, allocations: 47.91 kB / 259.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.02244, allocations: 67.59 kB / 259.7 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.0226, allocations: 87.55 kB / 259.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.02262, allocations: 12.02 kB / 259.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.02369, allocations: 1.817 MB / 261.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02369, allocations: 7.938 kB / 261.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.02413, allocations: 455 kB / 262.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.02417, allocations: 19.92 kB / 262.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.02429, allocations: 16 kB / 262.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.02436, allocations: 35.92 kB / 262.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.02438, allocations: 12 kB / 262.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.0245, allocations: 180.4 kB / 262.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0245, allocations: 4 kB / 262.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.02485, allocations: 207.5 kB / 262.6 MB, free: 14.86 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.000108/0.02496, allocations: 104.3 kB / 262.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.02538, allocations: 407.8 kB / 263.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.02539, allocations: 8 kB / 263.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.02564, allocations: 315.3 kB / 263.4 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.02634, allocations: 1.429 MB / 264.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.03025, allocations: 1.403 MB / 266.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.03038, allocations: 206.3 kB / 266.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.0305, allocations: 56.67 kB / 266.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.03072, allocations: 165.3 kB / 266.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03072, allocations: 0 / 266.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Templates: time 0.01154/0.04227, allocations: 10.57 MB / 277.2 MB, free: 100 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4324936596676707]