Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.0009544/0.0009544, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002282, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007296/0.0007296, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000962/0.001692, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.009/1.009, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2018/1.211, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.574e-05, allocations: 6.312 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.01509/0.01512, allocations: 4.633 MB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003318/0.01844, allocations: 1.387 MB / 228 MB, free: 9.984 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.01873, allocations: 31.75 kB / 228.1 MB, free: 9.953 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.01923, allocations: 234.3 kB / 228.3 MB, free: 9.723 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006505/0.01988, allocations: 369.6 kB / 228.6 MB, free: 9.359 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.02019, allocations: 219.5 kB / 228.9 MB, free: 9.145 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.02134, allocations: 1.603 MB / 230.5 MB, free: 7.535 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005405/0.02188, allocations: 0.5236 MB / 231 MB, free: 6.984 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009673/0.02285, allocations: 1.028 MB / 232 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/0.0237, allocations: 0.7404 MB / 232.8 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.02391, allocations: 164 kB / 232.9 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.02412, allocations: 164 kB / 233.1 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.02437, allocations: 375.1 kB / 233.4 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.02471, allocations: 431.2 kB / 233.9 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008765/0.02559, allocations: 1.126 MB / 235 MB, free: 2.973 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.0256, allocations: 0 / 235 MB, free: 2.973 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.02561, allocations: 0 / 235 MB, free: 2.973 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.02563, allocations: 0 / 235 MB, free: 2.973 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001844/0.02748, allocations: 1.716 MB / 236.7 MB, free: 1.227 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.02751, allocations: 12.02 kB / 236.7 MB, free: 1.215 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.02771, allocations: 172.8 kB / 236.9 MB, free: 1.047 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.02834, allocations: 0.5249 MB / 237.4 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.02838, allocations: 74.38 kB / 237.5 MB, free: 432 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.02849, allocations: 104.3 kB / 237.6 MB, free: 328 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008519/0.02934, allocations: 0.8136 MB / 238.4 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.02936, allocations: 11.88 kB / 238.4 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.02942, allocations: 36 kB / 238.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.02947, allocations: 42 kB / 238.5 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.02987, allocations: 245.8 kB / 238.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.03259, allocations: 2.542 MB / 241.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.03316, allocations: 0.496 MB / 241.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.03353, allocations: 306.1 kB / 242.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.03357, allocations: 12.66 kB / 242.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/0.03391, allocations: 347.5 kB / 242.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=75): time 2.114e-06/0.03391, allocations: 8 kB / 242.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=75): time 0.00262/0.03653, allocations: 1.288 MB / 243.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.03657, allocations: 64 kB / 243.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.03694, allocations: 0.5351 MB / 244.3 MB, free: 9.402 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.03702, allocations: 37.7 kB / 244.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.03722, allocations: 406.5 kB / 244.7 MB, free: 8.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.03736, allocations: 245.9 kB / 245 MB, free: 8.715 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.0375, allocations: 130.6 kB / 245.1 MB, free: 8.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.03763, allocations: 390.6 kB / 245.5 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.03774, allocations: 69.97 kB / 245.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.03797, allocations: 282.2 kB / 245.8 MB, free: 7.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.03833, allocations: 361.4 kB / 246.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.03834, allocations: 0 / 246.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005714/0.03891, allocations: 466 kB / 246.6 MB, free: 6.902 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.03893, allocations: 11.98 kB / 246.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.03894, allocations: 11.94 kB / 246.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.03936, allocations: 204.5 kB / 246.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.03958, allocations: 111.8 kB / 247 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.04221, allocations: 2.784 MB / 249.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.04242, allocations: 55.62 kB / 249.8 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.04246, allocations: 31.97 kB / 249.8 MB, free: 3.605 MB / 250.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_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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.04265, allocations: 166.5 kB / 250 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.04274, allocations: 71.92 kB / 250.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.04285, allocations: 100.3 kB / 250.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.04285, allocations: 15.92 kB / 250.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.04286, allocations: 0 / 250.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.04287, allocations: 11.91 kB / 250.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.04418, allocations: 1.036 MB / 251.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.04418, allocations: 4.062 kB / 251.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.04434, allocations: 63.91 kB / 251.3 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.04451, allocations: 131.2 kB / 251.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003969/0.04491, allocations: 199.6 kB / 251.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.04494, allocations: 19.92 kB / 251.7 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.04745, allocations: 2.755 MB / 254.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.04745, allocations: 4 kB / 254.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.04815, allocations: 0.6335 MB / 255 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.04821, allocations: 16 kB / 255.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.04838, allocations: 23.98 kB / 255.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.04851, allocations: 64.53 kB / 255.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.04853, allocations: 15.98 kB / 255.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002116/0.04875, allocations: 268.5 kB / 255.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04875, allocations: 0 / 255.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006033/0.04935, allocations: 343.3 kB / 255.8 MB, free: 13.52 MB / 266.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.04952, allocations: 112.2 kB / 255.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.05031, allocations: 0.6708 MB / 256.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/0.05033, allocations: 12 kB / 256.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.05084, allocations: 0.5412 MB / 257.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.05226, allocations: 2.691 MB / 259.8 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005842/0.0581, allocations: 2.034 MB / 261.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.05836, allocations: 312 kB / 262.1 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.05856, allocations: 87.06 kB / 262.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.05894, allocations: 253.1 kB / 262.5 MB, free: 6.172 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.05894, allocations: 4 kB / 262.5 MB, free: 6.168 MB / 266.7 MB Notification: Performance of Templates: time 0.02235/0.08129, allocations: 20.47 MB / 282.9 MB, free: 1.699 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.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.3797657461836934]