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.001767/0.001767, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001936/0.001936, allocations: 144.8 kB / 24.89 MB, free: 9.164 MB / 18.57 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.8675/0.8675, allocations: 173.4 MB / 201.5 MB, free: 9.234 MB / 186.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.062e-06/1.062e-06, allocations: 0 / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.542e-05, allocations: 9.906 kB / 268.5 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003216/0.003231, allocations: 3.626 MB / 272.1 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.004437, allocations: 1.028 MB / 273.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.004588, allocations: 23.88 kB / 273.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.004788, allocations: 107.1 kB / 273.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.005293, allocations: 250.3 kB / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.005487, allocations: 155.6 kB / 273.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.006087, allocations: 0.9764 MB / 274.6 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.00649, allocations: 343.4 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.006926, allocations: 0.6003 MB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.007357, allocations: 474.9 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.43e-05/0.007442, allocations: 100 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.007529, allocations: 100 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.007693, allocations: 295.1 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.007911, allocations: 331.3 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.008444, allocations: 0.771 MB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.008445, allocations: 3.938 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008446, allocations: 0 / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.008452, allocations: 0 / 277.6 MB, free: 13 MB / 266.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.0009998/0.009452, allocations: 1.03 MB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.009479, allocations: 12.92 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.009598, allocations: 108.8 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.01, allocations: 399.2 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.01003, allocations: 49.69 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.01011, allocations: 68.38 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.01062, allocations: 0.5373 MB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.01064, allocations: 11.88 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.01068, allocations: 28 kB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.01072, allocations: 33.31 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.01095, allocations: 161 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.01259, allocations: 1.709 MB / 281.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.01302, allocations: 226.4 kB / 282 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.01317, allocations: 117.4 kB / 282.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.0132, allocations: 8.328 kB / 282.1 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.01342, allocations: 239.6 kB / 282.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.01342, allocations: 0 / 282.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009232/0.01434, allocations: 480.1 kB / 282.8 MB, free: 7.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.01439, allocations: 114.8 kB / 282.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.01464, allocations: 399.3 kB / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.01466, allocations: 33.7 kB / 283.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.01479, allocations: 309.5 kB / 283.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.01487, allocations: 142.8 kB / 283.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.01495, allocations: 90.17 kB / 283.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.01505, allocations: 366.6 kB / 284.2 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.01511, allocations: 40.98 kB / 284.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.01524, allocations: 210.9 kB / 284.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.01547, allocations: 277.6 kB / 284.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01547, allocations: 0 / 284.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003439/0.01581, allocations: 312.5 kB / 285 MB, free: 5.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01583, allocations: 11.94 kB / 285.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01584, allocations: 4 kB / 285.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.01606, allocations: 100 kB / 285.2 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01621, allocations: 75.84 kB / 285.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.01749, allocations: 1.879 MB / 287.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.01762, allocations: 39.73 kB / 287.2 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.01764, allocations: 19.98 kB / 287.2 MB, free: 2.961 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.0001289/0.01777, allocations: 148.5 kB / 287.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.01782, allocations: 43.95 kB / 287.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.01788, allocations: 65.19 kB / 287.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01788, allocations: 16.08 kB / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.01789, allocations: 0 / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.01789, allocations: 7.922 kB / 287.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.01868, allocations: 0.7599 MB / 288.2 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.01869, allocations: 3.984 kB / 288.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.0188, allocations: 39.92 kB / 288.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.01896, allocations: 91.27 kB / 288.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.01898, allocations: 15.92 kB / 288.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09491/0.1139, allocations: 1.815 MB / 290.2 MB, free: 28.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1139, allocations: 2.719 kB / 290.2 MB, free: 28.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.1146, allocations: 460.5 kB / 290.6 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.1147, allocations: 72.77 kB / 290.7 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.1148, allocations: 10.16 kB / 290.7 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.1149, allocations: 19.88 kB / 290.7 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.115, allocations: 39.22 kB / 290.8 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.115, allocations: 11.11 kB / 290.8 MB, free: 28.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.1152, allocations: 180.2 kB / 290.9 MB, free: 28.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1152, allocations: 0 / 290.9 MB, free: 28.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004783/0.1157, allocations: 207.5 kB / 291.2 MB, free: 28.02 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.0001204/0.1158, allocations: 100.7 kB / 291.2 MB, free: 27.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.1163, allocations: 403.4 kB / 291.6 MB, free: 27.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.1163, allocations: 9.188 kB / 291.7 MB, free: 27.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.1165, allocations: 302.9 kB / 291.9 MB, free: 27.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1169, allocations: 147.3 kB / 292.1 MB, free: 27.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.1186, allocations: 1.333 MB / 293.4 MB, free: 27.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.1188, allocations: 205.2 kB / 293.6 MB, free: 27.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.1189, allocations: 61.53 kB / 293.7 MB, free: 27.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.1192, allocations: 164.1 kB / 293.8 MB, free: 26.99 MB / 266.7 MB Notification: Performance of SimCode: time 1.031e-06/0.1192, allocations: 0 / 293.8 MB, free: 26.99 MB / 266.7 MB Notification: Performance of Templates: time 0.01196/0.1311, allocations: 10.15 MB / 304 MB, free: 23.99 MB / 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.756602820008993]