Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001222/0.001222, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001891/0.003114, allocations: 447.8 kB / 10.35 MB, free: 348 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002479, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 0.904/0.904, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1788/1.083, allocations: 49.51 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1671/0.1671, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02033/0.1874, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.389e-05, allocations: 10.25 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007427/0.007441, allocations: 7.417 MB / 274.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.01123, allocations: 2.418 MB / 277 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.01167, allocations: 35.94 kB / 277.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.01414, allocations: 1.928 MB / 279 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.01538, allocations: 0.7414 MB / 279.8 MB, free: 9.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.01689, allocations: 1.036 MB / 280.8 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.01837, allocations: 1.498 MB / 282.3 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009955/0.01937, allocations: 0.8992 MB / 283.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008154/0.02018, allocations: 0.9073 MB / 284.1 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.02073, allocations: 0.5844 MB / 284.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.02086, allocations: 116 kB / 284.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.02139, allocations: 339.5 kB / 285.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.02156, allocations: 215.2 kB / 285.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.02192, allocations: 375.2 kB / 285.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.02302, allocations: 1.136 MB / 286.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.02304, allocations: 0 / 286.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.02304, allocations: 0 / 286.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.02305, allocations: 0 / 286.8 MB, free: 2.797 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.00553/0.02858, allocations: 2.888 MB / 289.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.583e-05/0.02861, allocations: 11.97 kB / 289.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007618/0.03623, allocations: 2.045 MB / 291.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.03679, allocations: 370.9 kB / 292.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.03687, allocations: 103.1 kB / 292.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.03702, allocations: 140.3 kB / 292.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.0383, allocations: 1.191 MB / 293.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.03833, allocations: 192 / 293.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.03842, allocations: 59.94 kB / 293.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.03845, allocations: 32 kB / 293.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/0.03938, allocations: 0.6543 MB / 294.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.04369, allocations: 3.512 MB / 297.8 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.04444, allocations: 0.8783 MB / 298.7 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.04469, allocations: 284.2 kB / 299 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.04476, allocations: 32.98 kB / 299 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.04479, allocations: 47.56 kB / 299.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 2.465e-06/0.04479, allocations: 0 / 299.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=129): time 0.003477/0.04827, allocations: 2.111 MB / 301.2 MB, free: 4.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.0483, allocations: 90.11 kB / 301.3 MB, free: 4.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.0485, allocations: 414.9 kB / 301.7 MB, free: 3.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.04855, allocations: 45.7 kB / 301.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.04871, allocations: 477.3 kB / 302.2 MB, free: 3.066 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004529/0.04916, allocations: 448.1 kB / 302.6 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.04934, allocations: 226.7 kB / 302.8 MB, free: 2.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.04944, allocations: 386.6 kB / 303.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.04962, allocations: 170.1 kB / 303.4 MB, free: 1.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.04992, allocations: 469.8 kB / 303.8 MB, free: 1.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.05047, allocations: 0.7532 MB / 304.6 MB, free: 412 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.05048, allocations: 4 kB / 304.6 MB, free: 408 kB / 298.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0009025/0.05138, allocations: 0.8988 MB / 305.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.05139, allocations: 11.97 kB / 305.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.0514, allocations: 12 kB / 305.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.05203, allocations: 384.3 kB / 305.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.05246, allocations: 247.6 kB / 306.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.973e-05/0.05255, allocations: 57.25 kB / 306.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.05281, allocations: 131 kB / 306.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.05286, allocations: 43.98 kB / 306.4 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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 {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.05303, allocations: 185.5 kB / 306.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.05313, allocations: 91.92 kB / 306.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008349/0.05397, allocations: 0.8418 MB / 307.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.05398, allocations: 12 kB / 307.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.05398, allocations: 3.938 kB / 307.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.05399, allocations: 7.969 kB / 307.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.05553, allocations: 1.47 MB / 309 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.05553, allocations: 32 / 309 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.05587, allocations: 167.8 kB / 309.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.05606, allocations: 115.2 kB / 309.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009822/0.05704, allocations: 379.3 kB / 309.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.05709, allocations: 27.98 kB / 309.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.111e-05/0.05713, allocations: 24.83 kB / 309.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.05713, allocations: 0 / 309.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.05821, allocations: 1.183 MB / 310.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.05827, allocations: 24 kB / 310.9 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.0585, allocations: 48.02 kB / 310.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.05859, allocations: 81.09 kB / 311 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.05863, allocations: 23.98 kB / 311 MB, free: 9.855 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.05873, allocations: 152.7 kB / 311.2 MB, free: 9.711 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.05873, allocations: 0 / 311.2 MB, free: 9.711 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004608/0.05919, allocations: 359.2 kB / 311.5 MB, free: 9.359 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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 {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.05936, allocations: 160.1 kB / 311.7 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009227/0.06028, allocations: 0.7928 MB / 312.5 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.506e-05/0.0603, allocations: 19.12 kB / 312.5 MB, free: 8.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.06086, allocations: 481.1 kB / 313 MB, free: 7.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.06124, allocations: 189.8 kB / 313.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008351/0.06959, allocations: 1.965 MB / 315.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.06972, allocations: 211.3 kB / 315.3 MB, free: 5.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.06997, allocations: 106.8 kB / 315.4 MB, free: 5.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.07021, allocations: 175.3 kB / 315.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.07021, allocations: 0 / 315.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of Templates: time 0.01575/0.08596, allocations: 13.29 MB / 328.9 MB, free: 7.875 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.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.082715854048729]