Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002644/0.002644, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002917/0.002917, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3953/0.3953, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.079e-05, allocations: 2.312 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01404/0.01407, allocations: 9.072 MB / 386.3 MB, free: 9.805 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007356/0.02143, allocations: 2.792 MB / 389.1 MB, free: 7.004 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.02391, allocations: 87.56 kB / 389.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.03539, allocations: 3.987 MB / 393.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005213/0.04061, allocations: 1.107 MB / 394.2 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.04354, allocations: 0.7751 MB / 395 MB, free: 1.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00816/0.0517, allocations: 5.045 MB / 400.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01447/0.06616, allocations: 7.719 MB / 407.8 MB, free: 4.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.07646, allocations: 4.236 MB / 412 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006873/0.08333, allocations: 3.096 MB / 415.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002575/0.08591, allocations: 0.7656 MB / 415.9 MB, free: 12 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.09022, allocations: 0.9254 MB / 416.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003803/0.09403, allocations: 1.668 MB / 418.5 MB, free: 9.406 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006055/0.1001, allocations: 2.031 MB / 420.5 MB, free: 7.371 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.1179, allocations: 10.65 MB / 431.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1179, allocations: 0 / 431.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1179, allocations: 0 / 431.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000404/0.1183, allocations: 0 / 431.2 MB, free: 12.69 MB / 410.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.02438/0.1427, allocations: 7.3 MB / 438.5 MB, free: 5.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.1427, allocations: 8.031 kB / 438.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02574/0.1685, allocations: 4.73 MB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1722/0.3406, allocations: 3.005 MB / 446.2 MB, free: 92.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.3409, allocations: 394.8 kB / 446.6 MB, free: 92.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/0.3425, allocations: 0.4986 MB / 447.1 MB, free: 92.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.3586, allocations: 8.733 MB / 455.8 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.3587, allocations: 5.328 kB / 455.8 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005897/0.3593, allocations: 210.5 kB / 456 MB, free: 89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002745/0.3596, allocations: 341.9 kB / 456.4 MB, free: 88.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.3709, allocations: 7.043 MB / 463.4 MB, free: 86.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04476/0.4157, allocations: 30.96 MB / 494.4 MB, free: 70.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.4263, allocations: 4.139 MB / 498.5 MB, free: 68.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.4285, allocations: 1.183 MB / 499.7 MB, free: 67.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.4287, allocations: 77.17 kB / 499.8 MB, free: 66.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.4287, allocations: 64.08 kB / 499.8 MB, free: 66.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.929e-06/0.4287, allocations: 2.406 kB / 499.8 MB, free: 66.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.004219/0.4329, allocations: 2.687 MB / 0.4907 GB, free: 64.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.433, allocations: 99.11 kB / 0.4908 GB, free: 64.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/0.4362, allocations: 2.911 MB / 0.4937 GB, free: 61.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.4363, allocations: 59.08 kB / 0.4937 GB, free: 61.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.4377, allocations: 2.556 MB / 0.4962 GB, free: 59.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000637/0.4383, allocations: 0.8274 MB / 0.497 GB, free: 58.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.4394, allocations: 0.9092 MB / 0.4979 GB, free: 57.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4395, allocations: 483.2 kB / 0.4984 GB, free: 57.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.4412, allocations: 1.22 MB / 0.4996 GB, free: 56.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.4435, allocations: 3.776 MB / 0.5033 GB, free: 51.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.4476, allocations: 5.285 MB / 0.5084 GB, free: 45.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/0.4476, allocations: 16 kB / 0.5084 GB, free: 45.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005607/0.4532, allocations: 4.39 MB / 0.5127 GB, free: 41.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.4533, allocations: 28 kB / 0.5128 GB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/0.4533, allocations: 56 kB / 0.5128 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.54e-05/0.4534, allocations: 76 kB / 0.5129 GB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.456, allocations: 0.913 MB / 0.5138 GB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.644e-05/0.4561, allocations: 115.6 kB / 0.5139 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.4584, allocations: 473 kB / 0.5143 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.4586, allocations: 196.2 kB / 0.5145 GB, free: 39.56 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.002626/0.4612, allocations: 1.92 MB / 0.5164 GB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.4617, allocations: 266.7 kB / 0.5166 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.4654, allocations: 2.609 MB / 0.5192 GB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4654, allocations: 24 kB / 0.5192 GB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4654, allocations: 0 / 0.5192 GB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.4654, allocations: 11.95 kB / 0.5192 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.4778, allocations: 9.102 MB / 0.5281 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.4778, allocations: 16 kB / 0.5281 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/0.4796, allocations: 0.5585 MB / 0.5287 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-05/0.4797, allocations: 28 kB / 0.5287 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.4798, allocations: 79.97 kB / 0.5288 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-05/0.4798, allocations: 42.8 kB / 0.5288 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.4798, allocations: 27.88 kB / 0.5288 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.4851, allocations: 4.449 MB / 0.5332 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/0.4865, allocations: 461.8 kB / 0.5336 GB, free: 19.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.4868, allocations: 71.98 kB / 0.5337 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.4879, allocations: 119.9 kB / 0.5338 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.4882, allocations: 225.2 kB / 0.534 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.4883, allocations: 95.98 kB / 0.5341 GB, free: 18.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001694/0.49, allocations: 1.466 MB / 0.5356 GB, free: 17.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.49, allocations: 0 / 0.5356 GB, free: 17.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003374/0.4934, allocations: 1.195 MB / 0.5367 GB, free: 16.06 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.0003634/0.4937, allocations: 235 kB / 0.5369 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004324/0.4981, allocations: 3.21 MB / 0.5401 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/0.4981, allocations: 4 kB / 0.5401 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.4996, allocations: 1.233 MB / 0.5413 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.5021, allocations: 0.5142 MB / 0.5418 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.5132, allocations: 8.63 MB / 0.5502 GB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.5159, allocations: 2.805 MB / 0.553 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003157/0.519, allocations: 1.183 MB / 0.5541 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006622/0.5197, allocations: 224.4 kB / 0.5543 GB, free: 13.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5197, allocations: 0 / 0.5543 GB, free: 13.63 MB / 426.7 MB Notification: Performance of Templates: time 0.06074/0.5804, allocations: 30.38 MB / 0.584 GB, free: 15.61 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.657571522053331]