Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001005/0.001005, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0008858/0.0008858, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.2 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.259e-05, allocations: 2.312 kB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00886/0.008893, allocations: 4.591 MB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005949/0.01484, allocations: 1.297 MB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.01836, allocations: 31.75 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.01878, allocations: 174.6 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.0199, allocations: 381.5 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.02043, allocations: 219.5 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004691/0.02512, allocations: 1.677 MB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.02594, allocations: 0.5715 MB / 281.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/0.0303, allocations: 1.033 MB / 283 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.03158, allocations: 0.8301 MB / 283.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.03184, allocations: 176 kB / 284 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.03215, allocations: 184 kB / 284.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.03255, allocations: 0.5024 MB / 284.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003804/0.03635, allocations: 0.5495 MB / 285.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.03777, allocations: 1.34 MB / 286.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.03777, allocations: 4 kB / 286.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.03777, allocations: 4 kB / 286.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.03779, allocations: 0 / 286.5 MB, free: 3.723 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00617/0.04396, allocations: 2.329 MB / 288.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.04401, allocations: 8.031 kB / 288.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006275/0.04463, allocations: 295.9 kB / 289.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.04889, allocations: 0.8793 MB / 290 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.04895, allocations: 82.38 kB / 290.1 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1203/0.1692, allocations: 101 kB / 290.2 MB, free: 25.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.1709, allocations: 0.9071 MB / 291.1 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.1709, allocations: 4.812 kB / 291.1 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.171, allocations: 44.3 kB / 291.2 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-05/0.171, allocations: 46.7 kB / 291.2 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/0.1719, allocations: 403 kB / 291.6 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004347/0.1763, allocations: 4.164 MB / 295.8 MB, free: 23.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.177, allocations: 0.5192 MB / 296.3 MB, free: 23.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/0.1776, allocations: 362.2 kB / 296.7 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.1777, allocations: 12.02 kB / 296.7 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/0.1782, allocations: 378.3 kB / 297 MB, free: 22.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/0.1782, allocations: 1.125 kB / 297 MB, free: 22.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002991/0.1812, allocations: 1.406 MB / 298.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1812, allocations: 87.34 kB / 298.5 MB, free: 22.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.182, allocations: 0.7976 MB / 299.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.182, allocations: 41.41 kB / 299.4 MB, free: 22.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.1823, allocations: 0.6121 MB / 300 MB, free: 21.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1824, allocations: 244.6 kB / 300.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.1825, allocations: 138.6 kB / 300.4 MB, free: 21.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.1826, allocations: 0.5161 MB / 300.9 MB, free: 20.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1828, allocations: 102.9 kB / 301 MB, free: 20.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.1831, allocations: 342 kB / 301.3 MB, free: 20.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.1835, allocations: 443.5 kB / 301.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1835, allocations: 1.344 kB / 301.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008357/0.1844, allocations: 0.625 MB / 302.4 MB, free: 20.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1844, allocations: 11.44 kB / 302.4 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1844, allocations: 7.844 kB / 302.4 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.1849, allocations: 202.7 kB / 302.6 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.1851, allocations: 109 kB / 302.7 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.1874, allocations: 3.242 MB / 305.9 MB, free: 17.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.1877, allocations: 68.33 kB / 306 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.1877, allocations: 25.91 kB / 306 MB, free: 17.54 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: 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_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) * 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.0001857/0.1879, allocations: 210 kB / 306.2 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.188, allocations: 118.1 kB / 306.3 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/0.1881, allocations: 115.5 kB / 306.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.1881, allocations: 7.344 kB / 306.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1881, allocations: 1.219 kB / 306.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.1881, allocations: 2.109 kB / 306.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.1898, allocations: 1.61 MB / 308.1 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1898, allocations: 0 / 308.1 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.19, allocations: 88.78 kB / 308.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.1903, allocations: 181.2 kB / 308.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.1903, allocations: 20.11 kB / 308.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.1922, allocations: 3.193 MB / 311.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1922, allocations: 0 / 311.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.1931, allocations: 0.8485 MB / 312.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.1933, allocations: 203 kB / 312.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.1934, allocations: 20 kB / 312.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.1936, allocations: 31.97 kB / 312.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.1937, allocations: 96.47 kB / 312.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1938, allocations: 16 kB / 312.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003405/0.1941, allocations: 0.495 MB / 313.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1941, allocations: 0 / 313.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005365/0.1946, allocations: 353 kB / 313.6 MB, free: 11.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0001191/0.1947, allocations: 137.3 kB / 313.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008367/0.1956, allocations: 0.751 MB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1956, allocations: 0 / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.196, allocations: 0.5759 MB / 315.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.1966, allocations: 252.5 kB / 315.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.1992, allocations: 2.303 MB / 317.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1994, allocations: 396.7 kB / 318 MB, free: 6.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.1996, allocations: 135.2 kB / 318.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1997, allocations: 60.5 kB / 318.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1997, allocations: 0 / 318.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of Templates: time 0.01841/0.2181, allocations: 17.5 MB / 335.7 MB, free: 5.488 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4399464018642902]