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.002299/0.002299, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001994/0.001994, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3701/0.3701, allocations: 34.27 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",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.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 377.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.898e-05, allocations: 6.312 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01338/0.01341, allocations: 9.081 MB / 386.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006286/0.01969, allocations: 2.78 MB / 389.1 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.02095, allocations: 91.5 kB / 389.2 MB, free: 6.996 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009701/0.03065, allocations: 3.99 MB / 393.2 MB, free: 2.988 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.03462, allocations: 1.099 MB / 394.3 MB, free: 1.883 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.03665, allocations: 0.7814 MB / 395.1 MB, free: 1.102 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006693/0.04334, allocations: 5.048 MB / 400.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/0.05525, allocations: 7.719 MB / 407.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007232/0.06248, allocations: 4.236 MB / 412.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005871/0.06835, allocations: 3.1 MB / 415.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001715/0.07006, allocations: 0.7656 MB / 416 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.07259, allocations: 0.9176 MB / 416.9 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001923/0.07451, allocations: 1.672 MB / 418.6 MB, free: 9.488 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003899/0.07841, allocations: 2.035 MB / 420.6 MB, free: 7.449 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.09322, allocations: 10.65 MB / 431.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.09322, allocations: 0 / 431.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09322, allocations: 0 / 431.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002999/0.09352, allocations: 0 / 431.2 MB, free: 12.77 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.02002/0.1135, allocations: 7.299 MB / 438.5 MB, free: 5.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1136, allocations: 12.03 kB / 438.5 MB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02331/0.1369, allocations: 4.727 MB / 443.3 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1549/0.2918, allocations: 3.01 MB / 446.3 MB, free: 92.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.2921, allocations: 389.2 kB / 446.7 MB, free: 92.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.2938, allocations: 0.4952 MB / 447.2 MB, free: 92.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.3095, allocations: 8.73 MB / 455.9 MB, free: 89.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.3096, allocations: 6.922 kB / 455.9 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005222/0.3101, allocations: 211.8 kB / 456.1 MB, free: 89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000294/0.3104, allocations: 342.5 kB / 456.4 MB, free: 88.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.3236, allocations: 7.045 MB / 463.5 MB, free: 86.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04602/0.3696, allocations: 30.96 MB / 494.4 MB, free: 70.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.3804, allocations: 4.139 MB / 498.6 MB, free: 68.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.3826, allocations: 1.186 MB / 499.8 MB, free: 67.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.3828, allocations: 73.42 kB / 499.8 MB, free: 67.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.3829, allocations: 60.17 kB / 499.9 MB, free: 66.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.629e-06/0.3829, allocations: 0 / 499.9 MB, free: 66.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.004579/0.3875, allocations: 2.69 MB / 0.4908 GB, free: 64.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3875, allocations: 103 kB / 0.4909 GB, free: 64.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/0.391, allocations: 2.914 MB / 0.4938 GB, free: 61.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002208/0.3912, allocations: 53.7 kB / 0.4938 GB, free: 61.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.3927, allocations: 2.563 MB / 0.4963 GB, free: 59.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009145/0.3936, allocations: 0.8199 MB / 0.4971 GB, free: 58.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.3948, allocations: 0.9141 MB / 0.498 GB, free: 58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.3949, allocations: 480.8 kB / 0.4985 GB, free: 57.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.3965, allocations: 1.225 MB / 0.4997 GB, free: 56.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.3991, allocations: 3.771 MB / 0.5033 GB, free: 52.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004507/0.4036, allocations: 5.287 MB / 0.5085 GB, free: 45.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.554e-05/0.4037, allocations: 20 kB / 0.5085 GB, free: 45.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006759/0.4104, allocations: 4.383 MB / 0.5128 GB, free: 41.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.4105, allocations: 32.25 kB / 0.5128 GB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/0.4105, allocations: 56 kB / 0.5129 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.151e-05/0.4106, allocations: 76 kB / 0.513 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/0.4134, allocations: 0.9164 MB / 0.5139 GB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.309e-05/0.4134, allocations: 115.5 kB / 0.514 GB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.4157, allocations: 477 kB / 0.5144 GB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.4159, allocations: 192 kB / 0.5146 GB, free: 39.66 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.002443/0.4183, allocations: 1.92 MB / 0.5165 GB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/0.4188, allocations: 266.7 kB / 0.5167 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.4227, allocations: 2.609 MB / 0.5193 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4227, allocations: 20 kB / 0.5193 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4227, allocations: 4 kB / 0.5193 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.4227, allocations: 15.94 kB / 0.5193 GB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.4355, allocations: 9.102 MB / 0.5282 GB, free: 25.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.4355, allocations: 16 kB / 0.5282 GB, free: 25.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/0.4374, allocations: 0.5616 MB / 0.5288 GB, free: 24.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.252e-05/0.4375, allocations: 28 kB / 0.5288 GB, free: 24.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.4376, allocations: 71.98 kB / 0.5289 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.141e-05/0.4376, allocations: 31.92 kB / 0.5289 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.4376, allocations: 27.88 kB / 0.5289 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004784/0.4424, allocations: 4.457 MB / 0.5333 GB, free: 19.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.4436, allocations: 453.8 kB / 0.5337 GB, free: 19.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.4439, allocations: 71.98 kB / 0.5338 GB, free: 19.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.4449, allocations: 115.9 kB / 0.5339 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.4452, allocations: 233.2 kB / 0.5341 GB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.4453, allocations: 99.97 kB / 0.5342 GB, free: 18.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001705/0.4471, allocations: 1.462 MB / 0.5356 GB, free: 17.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4471, allocations: 4.031 kB / 0.5356 GB, free: 17.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003375/0.4504, allocations: 1.199 MB / 0.5368 GB, free: 16.16 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.0003715/0.4508, allocations: 224.8 kB / 0.537 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004282/0.4551, allocations: 3.214 MB / 0.5402 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.4551, allocations: 4 kB / 0.5402 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.4566, allocations: 1.242 MB / 0.5414 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.4591, allocations: 0.5019 MB / 0.5419 GB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.4704, allocations: 8.634 MB / 0.5503 GB, free: 1.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002868/0.4733, allocations: 2.805 MB / 0.553 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003316/0.4766, allocations: 1.179 MB / 0.5542 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/0.4773, allocations: 232.4 kB / 0.5544 GB, free: 13.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.264e-06/0.4773, allocations: 0 / 0.5544 GB, free: 13.73 MB / 426.7 MB Notification: Performance of Templates: time 0.06326/0.5406, allocations: 30.38 MB / 0.5841 GB, free: 15.73 MB / 458.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.428138566087]