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.00142/0.00142, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001079/0.001079, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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.9816/0.9816, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.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.133/0.133, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.773e-06/1.773e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.211e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1599/0.1599, allocations: 7.385 MB / 306.5 MB, free: 16.72 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.1651, allocations: 2.398 MB / 308.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.1662, allocations: 32.69 kB / 308.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.1688, allocations: 1.917 MB / 310.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.1709, allocations: 0.7382 MB / 311.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.1727, allocations: 1.039 MB / 312.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.1749, allocations: 1.492 MB / 314.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.1765, allocations: 0.9892 MB / 315.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.1781, allocations: 0.8768 MB / 316 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.1791, allocations: 0.5938 MB / 316.6 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004336/0.1796, allocations: 113.7 kB / 316.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009723/0.1805, allocations: 336.2 kB / 317 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.1807, allocations: 308.7 kB / 317.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009057/0.1816, allocations: 474.2 kB / 317.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.1838, allocations: 1.233 MB / 319 MB, free: 9.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1838, allocations: 4 kB / 319 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1838, allocations: 0 / 319 MB, free: 9.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.397e-05/0.1839, allocations: 1.562 kB / 319 MB, free: 9.531 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.00521/0.1891, allocations: 2.54 MB / 321.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1892, allocations: 8.031 kB / 321.6 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006268/0.1954, allocations: 2.049 MB / 323.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008697/0.1963, allocations: 370.9 kB / 324 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.1963, allocations: 111 kB / 324.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.1965, allocations: 132.4 kB / 324.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1976, allocations: 1.187 MB / 325.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.1976, allocations: 4.141 kB / 325.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.1977, allocations: 67.86 kB / 325.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.1977, allocations: 32 kB / 325.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.1984, allocations: 0.6543 MB / 326.2 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.2024, allocations: 3.493 MB / 329.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008887/0.2033, allocations: 0.8763 MB / 330.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.2036, allocations: 285.1 kB / 330.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.895e-05/0.2037, allocations: 36.92 kB / 330.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.2037, allocations: 50.88 kB / 330.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 4.759e-06/0.2037, allocations: 3.984 kB / 330.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=129): time 0.00404/0.2078, allocations: 2.108 MB / 333 MB, free: 12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.2078, allocations: 90.11 kB / 333.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.2081, allocations: 414.8 kB / 333.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.2081, allocations: 49.73 kB / 333.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.2083, allocations: 473.4 kB / 334 MB, free: 10.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.2086, allocations: 452 kB / 334.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.2088, allocations: 230.7 kB / 334.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2089, allocations: 382.6 kB / 335 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.2091, allocations: 174.1 kB / 335.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.2095, allocations: 458.7 kB / 335.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.2101, allocations: 0.7571 MB / 336.4 MB, free: 8.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2102, allocations: 0 / 336.4 MB, free: 8.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001046/0.2112, allocations: 0.8984 MB / 337.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2112, allocations: 11.98 kB / 337.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2112, allocations: 8.469 kB / 337.3 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007438/0.212, allocations: 388.9 kB / 337.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.2124, allocations: 219.7 kB / 337.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001083/0.2126, allocations: 57.25 kB / 338 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.213, allocations: 131 kB / 338.1 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.213, allocations: 43.98 kB / 338.2 MB, free: 6.531 MB / 298.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.0002434/0.2133, allocations: 181.5 kB / 338.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.2134, allocations: 91.91 kB / 338.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009859/0.2144, allocations: 0.8464 MB / 339.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.2144, allocations: 16 kB / 339.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2144, allocations: 3.938 kB / 339.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.2144, allocations: 7.969 kB / 339.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.2164, allocations: 1.466 MB / 340.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.2164, allocations: 0 / 340.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.2168, allocations: 155.8 kB / 340.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006993/0.2175, allocations: 371.3 kB / 341.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.2175, allocations: 39.92 kB / 341.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.926e-05/0.2176, allocations: 24.77 kB / 341.3 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2176, allocations: 4 kB / 341.3 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.2189, allocations: 1.172 MB / 342.5 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.2191, allocations: 123.1 kB / 342.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.2192, allocations: 20 kB / 342.7 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.2194, allocations: 59.44 kB / 342.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.2196, allocations: 81.09 kB / 342.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.2196, allocations: 20 kB / 342.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.2198, allocations: 160.7 kB / 343 MB, free: 1.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2198, allocations: 0 / 343 MB, free: 1.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008981/0.2207, allocations: 355.2 kB / 343.3 MB, free: 1.273 MB / 298.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.0002989/0.221, allocations: 152.2 kB / 343.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.2221, allocations: 0.7889 MB / 344.3 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/0.2222, allocations: 12.5 kB / 344.3 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009986/0.2232, allocations: 477 kB / 344.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.2236, allocations: 120.7 kB / 344.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.2264, allocations: 1.863 MB / 346.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.2265, allocations: 203.3 kB / 346.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.2268, allocations: 106.8 kB / 347 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.2271, allocations: 179.3 kB / 347.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.614e-06/0.2271, allocations: 4 kB / 347.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of Templates: time 0.01852/0.2456, allocations: 12.96 MB / 360.2 MB, free: 472 kB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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.4429782391525805]