Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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.0008818/0.0008818, allocations: 77.14 kB / 21.5 MB, free: 2.832 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.0008446/0.0008446, allocations: 140.9 kB / 24.89 MB, free: 9.277 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.8815/0.8815, allocations: 173.4 MB / 201.5 MB, free: 8.262 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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.357e-05, allocations: 3 kB / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007598/0.007622, allocations: 5.936 MB / 274.4 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004418/0.01204, allocations: 1.714 MB / 276.1 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009736/0.01301, allocations: 55.69 kB / 276.2 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008094/0.01382, allocations: 309.5 kB / 276.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.01536, allocations: 456.4 kB / 276.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.01625, allocations: 353.5 kB / 277.3 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.01879, allocations: 2.206 MB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.02045, allocations: 1.395 MB / 280.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.02215, allocations: 1.588 MB / 282.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.02341, allocations: 1.162 MB / 283.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004034/0.02381, allocations: 292 kB / 283.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.02432, allocations: 411.6 kB / 284.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004149/0.02473, allocations: 0.7362 MB / 285 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000662/0.0254, allocations: 0.8615 MB / 285.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.02689, allocations: 2.04 MB / 287.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.0269, allocations: 4 kB / 287.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.0269, allocations: 4 kB / 288 MB, free: 6.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.02692, allocations: 0 / 288 MB, free: 6.172 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.002145/0.02906, allocations: 2.314 MB / 290.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.02909, allocations: 8.031 kB / 290.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.02944, allocations: 320.7 kB / 290.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008889/0.03033, allocations: 0.7734 MB / 291.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.03041, allocations: 152.5 kB / 291.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.03059, allocations: 212.3 kB / 291.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.03202, allocations: 1.486 MB / 293.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.03206, allocations: 3.938 kB / 293.2 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.03217, allocations: 84 kB / 293.3 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.03222, allocations: 56 kB / 293.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.03298, allocations: 0.5412 MB / 293.9 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/0.03751, allocations: 4.404 MB / 298.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.03819, allocations: 0.7318 MB / 299 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.03866, allocations: 419.7 kB / 299.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.0387, allocations: 24.98 kB / 299.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.03873, allocations: 51.48 kB / 299.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 2.514e-06/0.03874, allocations: 0 / 299.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=97): time 0.002415/0.04115, allocations: 1.588 MB / 301.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.04118, allocations: 64.41 kB / 301.2 MB, free: 8.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.0416, allocations: 0.6013 MB / 301.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.04164, allocations: 45.69 kB / 301.8 MB, free: 7.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.04194, allocations: 0.7439 MB / 302.5 MB, free: 7.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.04211, allocations: 349 kB / 302.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.04226, allocations: 166.5 kB / 303 MB, free: 6.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.04235, allocations: 345.9 kB / 303.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.0425, allocations: 116.8 kB / 303.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.04272, allocations: 297.6 kB / 303.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.04315, allocations: 0.5 MB / 304.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.04316, allocations: 0 / 304.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0007334/0.04389, allocations: 0.6339 MB / 304.9 MB, free: 4.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.04391, allocations: 8 kB / 304.9 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.04392, allocations: 4 kB / 304.9 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/0.04438, allocations: 215.4 kB / 305.1 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.04471, allocations: 163.7 kB / 305.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.04816, allocations: 6.485 MB / 311.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.04836, allocations: 20 kB / 311.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.04841, allocations: 28 kB / 311.8 MB, free: 13.28 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.04864, allocations: 172.5 kB / 312 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.04877, allocations: 95.84 kB / 312.1 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.785e-05/0.04886, allocations: 121.9 kB / 312.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.04888, allocations: 15.98 kB / 312.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.04889, allocations: 4 kB / 312.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.0489, allocations: 3.984 kB / 312.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.05069, allocations: 1.564 MB / 313.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.0507, allocations: 8.188 kB / 313.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.05096, allocations: 115.9 kB / 313.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003572/0.05132, allocations: 221.1 kB / 314.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.05135, allocations: 20 kB / 314.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/0.05455, allocations: 6.478 MB / 320.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.05455, allocations: 0 / 320.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.05542, allocations: 0.8753 MB / 321.5 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.05559, allocations: 127.3 kB / 321.6 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.05566, allocations: 16 kB / 321.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.05583, allocations: 27.98 kB / 321.7 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.05594, allocations: 76.8 kB / 321.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.05597, allocations: 16 kB / 321.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002153/0.05619, allocations: 300.5 kB / 322.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05619, allocations: 0 / 322.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007693/0.05696, allocations: 383.9 kB / 322.4 MB, free: 2.172 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.05715, allocations: 136.3 kB / 322.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.05807, allocations: 1.069 MB / 323.6 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.05808, allocations: 8 kB / 323.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006049/0.05868, allocations: 0.8578 MB / 324.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.0593, allocations: 306.8 kB / 324.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.06245, allocations: 3.031 MB / 327.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.06279, allocations: 446.5 kB / 328.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.06301, allocations: 112.5 kB / 328.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.06341, allocations: 289.1 kB / 328.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.06341, allocations: 0 / 328.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of Templates: time 0.0247/0.08811, allocations: 21.26 MB / 349.9 MB, free: 6.844 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/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.2476294236257672]