Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.0009807/0.0009807, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.000874/0.000874, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9354/0.9354, allocations: 173.4 MB / 201.1 MB, free: 9.34 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.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.101e-05, allocations: 6.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.00519/0.005211, allocations: 6.096 MB / 274.1 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.00783, allocations: 2.071 MB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.008192, allocations: 23.88 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.009263, allocations: 0.7887 MB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009695/0.01023, allocations: 0.7608 MB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.0108, allocations: 0.4908 MB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008321/0.01163, allocations: 1.206 MB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.0124, allocations: 0.7569 MB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.01291, allocations: 0.6821 MB / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004242/0.01334, allocations: 418.8 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.01345, allocations: 108 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.0138, allocations: 259.7 kB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.01395, allocations: 255.1 kB / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.01421, allocations: 387 kB / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008173/0.01503, allocations: 0.9691 MB / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01503, allocations: 0 / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01504, allocations: 0 / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.01504, allocations: 3.938 kB / 283.2 MB, free: 7.094 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001931/0.01698, allocations: 1.778 MB / 285 MB, free: 5.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01701, allocations: 8.922 kB / 285 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.0183, allocations: 0.492 MB / 285.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.01887, allocations: 0.5037 MB / 286 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.01891, allocations: 78.38 kB / 286.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.01901, allocations: 108.4 kB / 286.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009457/0.01996, allocations: 0.8879 MB / 287.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.01998, allocations: 8.078 kB / 287.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.02004, allocations: 44.12 kB / 287.1 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.02006, allocations: 28 kB / 287.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.02076, allocations: 459.6 kB / 287.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1417/0.1625, allocations: 3.116 MB / 290.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.164, allocations: 0.7726 MB / 291.5 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.1646, allocations: 292.4 kB / 291.8 MB, free: 21.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-05/0.1647, allocations: 20.98 kB / 291.8 MB, free: 21.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005982/0.1653, allocations: 498.3 kB / 292.3 MB, free: 21.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 5.029e-06/0.1653, allocations: 0 / 292.3 MB, free: 21.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002764/0.168, allocations: 1.159 MB / 293.5 MB, free: 21.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.1681, allocations: 200.3 kB / 293.7 MB, free: 21.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.1687, allocations: 455.8 kB / 294.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.1687, allocations: 41.73 kB / 294.1 MB, free: 21.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.169, allocations: 469.2 kB / 294.6 MB, free: 20.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.1692, allocations: 289 kB / 294.9 MB, free: 20.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.1694, allocations: 166.3 kB / 295 MB, free: 20.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1695, allocations: 0.5385 MB / 295.6 MB, free: 20.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.1697, allocations: 134.4 kB / 295.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.1701, allocations: 0.521 MB / 296.2 MB, free: 19.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.1708, allocations: 0.5681 MB / 296.8 MB, free: 19.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.1708, allocations: 5 kB / 296.8 MB, free: 19.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00142/0.1722, allocations: 0.7753 MB / 297.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.1722, allocations: 7.844 kB / 297.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.1723, allocations: 5.688 kB / 297.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007728/0.173, allocations: 266.1 kB / 297.9 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.1734, allocations: 141.7 kB / 298 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/0.1769, allocations: 5.149 MB / 303.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.1773, allocations: 89.75 kB / 303.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.1774, allocations: 37.69 kB / 303.3 MB, free: 15.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.1776, allocations: 217.3 kB / 303.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1777, allocations: 94.92 kB / 303.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.1789, allocations: 0.7114 MB / 304.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1789, allocations: 9.125 kB / 304.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1789, allocations: 0 / 304.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.1789, allocations: 4.406 kB / 304.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.181, allocations: 1.425 MB / 305.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.181, allocations: 0.875 kB / 305.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.1812, allocations: 93.75 kB / 305.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005962/0.1818, allocations: 254.5 kB / 306.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.1819, allocations: 17.88 kB / 306.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.1846, allocations: 5.099 MB / 311.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1846, allocations: 0 / 311.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.1857, allocations: 0.9895 MB / 312.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.1859, allocations: 129.9 kB / 312.3 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.186, allocations: 22.66 kB / 312.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.1862, allocations: 32.25 kB / 312.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.1863, allocations: 78.38 kB / 312.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.1864, allocations: 25.28 kB / 312.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.1866, allocations: 295.4 kB / 312.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1866, allocations: 3.562 kB / 312.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009784/0.1875, allocations: 315.5 kB / 313.1 MB, free: 9.141 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000282/0.1878, allocations: 156.1 kB / 313.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.1889, allocations: 0.9582 MB / 314.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1889, allocations: 1.25 kB / 314.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005229/0.1894, allocations: 0.7462 MB / 314.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.1898, allocations: 118.1 kB / 315 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.1922, allocations: 1.545 MB / 316.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.1923, allocations: 185.8 kB / 316.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.1925, allocations: 81.03 kB / 316.8 MB, free: 7.062 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1926, allocations: 56 kB / 316.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of SimCode: time 1.402e-06/0.1926, allocations: 0 / 316.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of Templates: time 0.01554/0.2082, allocations: 11.64 MB / 328.5 MB, free: 12.33 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.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.2590098096989095]