Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001044/0.001044, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009854/0.0009854, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9831/0.9831, allocations: 177.1 MB / 205 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2659/0.2659, allocations: 34.25 MB / 295.7 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.531e-05, allocations: 6.25 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.007293/0.007318, allocations: 9.159 MB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003909/0.01123, allocations: 2.788 MB / 390 MB, free: 6.664 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000683/0.01191, allocations: 87.56 kB / 390.1 MB, free: 6.578 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003813/0.01572, allocations: 4.006 MB / 394.1 MB, free: 2.555 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.01762, allocations: 1.107 MB / 395.2 MB, free: 1.441 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.01861, allocations: 0.7713 MB / 395.9 MB, free: 0.668 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.02208, allocations: 5.052 MB / 401 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006754/0.02884, allocations: 7.719 MB / 408.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.03251, allocations: 4.232 MB / 412.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/0.03502, allocations: 3.111 MB / 416.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005786/0.0356, allocations: 0.7656 MB / 416.8 MB, free: 11.63 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.03665, allocations: 0.9331 MB / 417.8 MB, free: 10.7 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008813/0.03754, allocations: 1.664 MB / 419.4 MB, free: 9.031 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.03893, allocations: 2.031 MB / 421.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003929/0.04286, allocations: 5.204 MB / 426.7 MB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.04287, allocations: 3.938 kB / 426.7 MB, free: 1.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.04287, allocations: 4 kB / 426.7 MB, free: 1.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.554e-05/0.04291, allocations: 0 / 426.7 MB, free: 1.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.008005/0.05092, allocations: 6.835 MB / 433.5 MB, free: 10.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.05097, allocations: 12.03 kB / 433.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.06223, allocations: 4.73 MB / 438.2 MB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.06564, allocations: 3.017 MB / 441.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.06584, allocations: 386.5 kB / 441.6 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.06635, allocations: 0.5077 MB / 442.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1709/0.2373, allocations: 4.553 MB / 446.7 MB, free: 79.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.2374, allocations: 2.75 kB / 446.7 MB, free: 79.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.2378, allocations: 214.5 kB / 446.9 MB, free: 79.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002543/0.238, allocations: 342.4 kB / 447.2 MB, free: 79.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004834/0.2429, allocations: 2.538 MB / 449.8 MB, free: 79.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.2612, allocations: 19.84 MB / 469.6 MB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005425/0.2666, allocations: 3.971 MB / 473.6 MB, free: 69.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009024/0.2675, allocations: 0.7115 MB / 474.3 MB, free: 69.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.2677, allocations: 71.55 kB / 474.4 MB, free: 69.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2677, allocations: 67.83 kB / 474.4 MB, free: 69.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.779e-06/0.2677, allocations: 0 / 474.4 MB, free: 69.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.002132/0.2698, allocations: 1.519 MB / 476 MB, free: 69.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2699, allocations: 100.3 kB / 476.1 MB, free: 68.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.2716, allocations: 1.882 MB / 477.9 MB, free: 68.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.2717, allocations: 59.95 kB / 478 MB, free: 68.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009596/0.2727, allocations: 2.436 MB / 480.4 MB, free: 66.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/0.2731, allocations: 0.7931 MB / 481.2 MB, free: 66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007929/0.2739, allocations: 0.8007 MB / 482 MB, free: 65.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.2739, allocations: 485.2 kB / 482.5 MB, free: 65.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008156/0.2747, allocations: 420.8 kB / 482.9 MB, free: 65.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.2763, allocations: 2.86 MB / 485.8 MB, free: 61.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/0.2791, allocations: 3.651 MB / 489.4 MB, free: 58.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-05/0.2792, allocations: 15.41 kB / 489.4 MB, free: 58.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00472/0.2839, allocations: 2.774 MB / 492.2 MB, free: 57.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.284, allocations: 28.34 kB / 492.2 MB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.921e-05/0.284, allocations: 55.62 kB / 492.3 MB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.2841, allocations: 77.62 kB / 492.4 MB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.2865, allocations: 0.9161 MB / 493.3 MB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.107e-05/0.2866, allocations: 112.8 kB / 493.4 MB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.2882, allocations: 475.4 kB / 493.9 MB, free: 57.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.2885, allocations: 192 kB / 494 MB, free: 57.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009612/0.2894, allocations: 418.9 kB / 494.5 MB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.2897, allocations: 274.8 kB / 494.7 MB, free: 56.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.2924, allocations: 1.796 MB / 496.5 MB, free: 56.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.2925, allocations: 23.3 kB / 496.5 MB, free: 56.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2925, allocations: 4 kB / 496.5 MB, free: 56.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.2925, allocations: 11.16 kB / 496.6 MB, free: 56.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008795/0.3013, allocations: 6.691 MB / 0.4915 GB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.3013, allocations: 17.5 kB / 0.4915 GB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.3027, allocations: 0.5604 MB / 0.492 GB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/0.3027, allocations: 33.28 kB / 0.4921 GB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.3028, allocations: 74.06 kB / 0.4921 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.212e-05/0.3029, allocations: 37.38 kB / 0.4922 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.3029, allocations: 26.97 kB / 0.4922 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.306, allocations: 3.013 MB / 0.4951 GB, free: 50.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006272/0.3066, allocations: 447.7 kB / 0.4956 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.3068, allocations: 75.23 kB / 0.4956 GB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/0.3076, allocations: 121.6 kB / 0.4957 GB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.3079, allocations: 229.8 kB / 0.496 GB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.308, allocations: 99.88 kB / 0.4961 GB, free: 50.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.309, allocations: 0.8365 MB / 0.4969 GB, free: 50.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.309, allocations: 0 / 0.4969 GB, free: 50.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002531/0.3115, allocations: 1.192 MB / 0.498 GB, free: 49.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000312/0.3118, allocations: 230.2 kB / 0.4983 GB, free: 49.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002724/0.3146, allocations: 1.92 MB / 0.5001 GB, free: 47.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3146, allocations: 4.375 kB / 0.5001 GB, free: 47.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009682/0.3155, allocations: 0.8208 MB / 0.5009 GB, free: 47.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.3174, allocations: 0.5006 MB / 0.5014 GB, free: 46.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/0.3251, allocations: 7.777 MB / 0.509 GB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.3261, allocations: 1.426 MB / 0.5104 GB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002016/0.3281, allocations: 1.176 MB / 0.5116 GB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.3286, allocations: 228 kB / 0.5118 GB, free: 37.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3286, allocations: 4 kB / 0.5118 GB, free: 37.49 MB / 410.7 MB Notification: Performance of Templates: time 0.04361/0.3722, allocations: 30.41 MB / 0.5415 GB, free: 8.867 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.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: 4.153226315043867]