Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.001042/0.001042, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002326, allocations: 452 kB / 10.43 MB, free: 264 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.00113/0.00113, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.002137, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8895/0.8895, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.143/1.032, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.1426/0.1426, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01834/0.1609, allocations: 12.31 MB / 266.1 MB, free: 3.871 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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.5e-05, allocations: 6.25 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.1577/0.1577, allocations: 21.46 MB / 288.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.169, allocations: 5.918 MB / 294.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.1718, allocations: 197.4 kB / 295 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.1821, allocations: 10.15 MB / 305.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006602/0.1887, allocations: 2.314 MB / 307.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.1917, allocations: 1.879 MB / 309.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.2037, allocations: 15.35 MB / 324.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02354/0.2272, allocations: 21.3 MB / 346 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01855/0.2458, allocations: 12.5 MB / 358.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.2569, allocations: 8.983 MB / 367.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004939/0.2619, allocations: 2.109 MB / 369.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006495/0.2684, allocations: 2.351 MB / 371.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002608/0.271, allocations: 3.546 MB / 375.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005858/0.2768, allocations: 4.785 MB / 380.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.2879, allocations: 13.8 MB / 394 MB, free: 9.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.288, allocations: 0 / 394 MB, free: 9.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.288, allocations: 0 / 394 MB, free: 9.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002632/0.2882, allocations: 0 / 394 MB, free: 9.574 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.03469/0.3229, allocations: 21.52 MB / 415.5 MB, free: 3.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3229, allocations: 8.031 kB / 415.6 MB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04019/0.3631, allocations: 11.31 MB / 426.9 MB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.3746, allocations: 3.632 MB / 430.5 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008293/0.3755, allocations: 1.068 MB / 431.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00246/0.3779, allocations: 1.403 MB / 433 MB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.3994, allocations: 12.14 MB / 445.1 MB, free: 6.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002865/0.3997, allocations: 19.83 kB / 445.1 MB, free: 6.062 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.4012, allocations: 0.5781 MB / 445.7 MB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006472/0.4018, allocations: 0.7062 MB / 446.4 MB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1537/0.5555, allocations: 6.131 MB / 452.5 MB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05209/0.6076, allocations: 42.36 MB / 494.9 MB, free: 87.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005293/0.6129, allocations: 5.991 MB / 0.4892 GB, free: 86.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.6142, allocations: 1.307 MB / 0.4904 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008963/0.6231, allocations: 6.386 MB / 0.4967 GB, free: 81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.6232, allocations: 86.11 kB / 0.4968 GB, free: 80.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=465): time 6.181e-06/0.6232, allocations: 3.188 kB / 0.4968 GB, free: 80.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=465): time 0.01127/0.6345, allocations: 6.547 MB / 0.5032 GB, free: 74.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.6345, allocations: 124.7 kB / 0.5033 GB, free: 74.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.6365, allocations: 3.35 MB / 0.5065 GB, free: 71.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.6367, allocations: 97.7 kB / 0.5066 GB, free: 71.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.6381, allocations: 5.79 MB / 0.5123 GB, free: 66.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/0.6387, allocations: 1.646 MB / 0.5139 GB, free: 64.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.6399, allocations: 1.446 MB / 0.5153 GB, free: 63.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.552e-05/0.6399, allocations: 309.1 kB / 0.5156 GB, free: 63.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.6411, allocations: 1.143 MB / 0.5167 GB, free: 61.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.6428, allocations: 4.162 MB / 0.5208 GB, free: 56.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/0.647, allocations: 6.365 MB / 0.527 GB, free: 49.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.786e-05/0.647, allocations: 32 kB / 0.527 GB, free: 49.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.005662/0.6527, allocations: 5.253 MB / 0.5322 GB, free: 44.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.6527, allocations: 52 kB / 0.5322 GB, free: 44.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-05/0.6528, allocations: 116.1 kB / 0.5323 GB, free: 44.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.6552, allocations: 1.505 MB / 0.5338 GB, free: 42.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.6579, allocations: 1.681 MB / 0.5354 GB, free: 41.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002753/0.6582, allocations: 325 kB / 0.5357 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.6608, allocations: 0.8726 MB / 0.5366 GB, free: 40.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/0.6611, allocations: 328 kB / 0.5369 GB, free: 39.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.002586/0.6637, allocations: 0.6478 MB / 0.5375 GB, free: 39.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005427/0.6642, allocations: 433.3 kB / 0.538 GB, free: 38.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/0.6679, allocations: 3.286 MB / 0.5412 GB, free: 35.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.6679, allocations: 51.98 kB / 0.5412 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6679, allocations: 0 / 0.5412 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.6679, allocations: 23.86 kB / 0.5412 GB, free: 35.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008475/0.6764, allocations: 6.633 MB / 0.5477 GB, free: 29.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.6764, allocations: 0 / 0.5477 GB, free: 29.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.6778, allocations: 0.6618 MB / 0.5484 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000941/0.6788, allocations: 0.7249 MB / 0.5491 GB, free: 28.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002049/0.6808, allocations: 1.358 MB / 0.5504 GB, free: 27.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.681, allocations: 83.98 kB / 0.5505 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002096/0.6812, allocations: 119.9 kB / 0.5506 GB, free: 26.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6812, allocations: 7.938 kB / 0.5506 GB, free: 26.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/0.6854, allocations: 3.791 MB / 0.5543 GB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/0.6858, allocations: 80 kB / 0.5544 GB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009762/0.6868, allocations: 159.9 kB / 0.5545 GB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003747/0.6872, allocations: 291.3 kB / 0.5548 GB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.6873, allocations: 91.72 kB / 0.5549 GB, free: 22.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.6883, allocations: 1.491 MB / 0.5563 GB, free: 21.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6883, allocations: 1.75 kB / 0.5563 GB, free: 21.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004564/0.6929, allocations: 3.3 MB / 0.5596 GB, free: 17.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004502/0.6934, allocations: 241 kB / 0.5598 GB, free: 17.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004448/0.6978, allocations: 4.104 MB / 0.5638 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001827/0.698, allocations: 162.1 kB / 0.564 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.7003, allocations: 2.026 MB / 0.5659 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/0.7049, allocations: 11 MB / 0.5767 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07882/0.7837, allocations: 21.77 MB / 0.5979 GB, free: 9.152 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003338/0.787, allocations: 2.859 MB / 0.6007 GB, free: 6.262 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002748/0.7898, allocations: 0.7944 MB / 0.6015 GB, free: 5.465 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/0.7919, allocations: 1.132 MB / 0.6026 GB, free: 4.316 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7919, allocations: 0 / 0.6026 GB, free: 4.316 MB / 458.7 MB Notification: Performance of Templates: time 0.2539/1.046, allocations: 93.31 MB / 0.6937 GB, free: 71.32 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.065796052105725]