Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.0009285/0.0009285, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001648/0.001648, allocations: 145.2 kB / 24.9 MB, free: 8.766 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.8853/0.8853, allocations: 173.4 MB / 201.5 MB, free: 8.27 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 268.5 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.852e-05, allocations: 6.312 kB / 268.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005007/0.005026, allocations: 3.637 MB / 272.1 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.007377, allocations: 0.9371 MB / 273.1 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003497/0.007727, allocations: 11.94 kB / 273.1 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.007969, allocations: 75.22 kB / 273.2 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.008292, allocations: 162.3 kB / 273.3 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.008617, allocations: 171.6 kB / 273.5 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.009155, allocations: 0.6307 MB / 274.1 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.009411, allocations: 138.5 kB / 274.2 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.009776, allocations: 351.2 kB / 274.6 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.01006, allocations: 195.4 kB / 274.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.922e-05/0.01013, allocations: 56.5 kB / 274.8 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.01018, allocations: 56.59 kB / 274.9 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.01026, allocations: 119.5 kB / 275 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.0104, allocations: 189.5 kB / 275.2 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.01078, allocations: 402.5 kB / 275.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01078, allocations: 0 / 275.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01078, allocations: 3.938 kB / 275.6 MB, free: 2.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.01079, allocations: 0 / 275.6 MB, free: 2.645 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0008044/0.01159, allocations: 0.6922 MB / 276.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.01163, allocations: 8.031 kB / 276.3 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.01172, allocations: 76.88 kB / 276.4 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.01202, allocations: 249.5 kB / 276.6 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.01205, allocations: 37.38 kB / 276.6 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.0121, allocations: 44.38 kB / 276.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.01245, allocations: 372.4 kB / 277.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.01246, allocations: 192 / 277.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.01249, allocations: 19.94 kB / 277.1 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.0125, allocations: 15.94 kB / 277.1 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.01266, allocations: 130.8 kB / 277.2 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.01398, allocations: 1.315 MB / 278.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.01431, allocations: 269 kB / 278.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.01454, allocations: 167.5 kB / 279 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.01456, allocations: 8.328 kB / 279 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.0148, allocations: 230.8 kB / 279.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.423e-06/0.0148, allocations: 0 / 279.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009417/0.01574, allocations: 0.5027 MB / 279.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.01578, allocations: 81.11 kB / 279.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.01595, allocations: 274.9 kB / 280 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.01597, allocations: 37.7 kB / 280.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.01607, allocations: 205.8 kB / 280.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.01615, allocations: 138.8 kB / 280.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.01624, allocations: 86.11 kB / 280.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.01633, allocations: 350.7 kB / 280.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.447e-05/0.0164, allocations: 44.98 kB / 280.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.01654, allocations: 206 kB / 281.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.01676, allocations: 254.6 kB / 281.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01676, allocations: 0 / 281.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003292/0.01709, allocations: 301.7 kB / 281.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01711, allocations: 10.03 kB / 281.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01712, allocations: 4 kB / 281.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.01735, allocations: 96.77 kB / 281.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.0175, allocations: 68.09 kB / 281.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.01887, allocations: 1.847 MB / 283.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.019, allocations: 39.78 kB / 283.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01901, allocations: 12 kB / 283.7 MB, free: 10.07 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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.01913, allocations: 152.5 kB / 283.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.01916, allocations: 35.97 kB / 283.9 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.01921, allocations: 47.42 kB / 283.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01922, allocations: 4 kB / 283.9 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01922, allocations: 4 kB / 283.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01922, allocations: 7.984 kB / 283.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.01981, allocations: 0.5441 MB / 284.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01981, allocations: 0 / 284.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.983e-05/0.0199, allocations: 35.92 kB / 284.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/0.02008, allocations: 96.83 kB / 284.6 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.02009, allocations: 12.03 kB / 284.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.02127, allocations: 1.842 MB / 286.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.02127, allocations: 0 / 286.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.02164, allocations: 406.7 kB / 286.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.02172, allocations: 43.7 kB / 286.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.02175, allocations: 15.92 kB / 286.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.02185, allocations: 12 kB / 286.9 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.02192, allocations: 43.86 kB / 287 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.02193, allocations: 8 kB / 287 MB, free: 6.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.419e-05/0.02201, allocations: 104.6 kB / 287.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02201, allocations: 0 / 287.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003552/0.02236, allocations: 147.7 kB / 287.2 MB, free: 6.383 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.02248, allocations: 96.41 kB / 287.3 MB, free: 6.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.02292, allocations: 407.6 kB / 287.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.02292, allocations: 4 kB / 287.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.02316, allocations: 314.8 kB / 288 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.0234, allocations: 77.31 kB / 288.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.02456, allocations: 0.8109 MB / 288.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.011e-05/0.02465, allocations: 118.3 kB / 289 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.976e-05/0.02474, allocations: 35.27 kB / 289.1 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.02487, allocations: 123.3 kB / 289.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02487, allocations: 0 / 289.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of Templates: time 0.009126/0.034, allocations: 6.842 MB / 296 MB, free: 13.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.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.663176534231752]