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.001525/0.001525, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001559/0.001559, allocations: 157.7 kB / 24.27 MB, free: 176 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.525/1.525, allocations: 177.2 MB / 204.6 MB, free: 5.59 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.3612/0.3612, allocations: 34.27 MB / 295.3 MB, free: 0.6641 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 4.558e-06/4.558e-06, allocations: 4 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/4.092e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01244/0.01249, allocations: 8.25 MB / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007573/0.02006, allocations: 2.737 MB / 388.3 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.02255, allocations: 83.56 kB / 388.4 MB, free: 7.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009788/0.03234, allocations: 3.702 MB / 392.1 MB, free: 4.121 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005346/0.03768, allocations: 1.095 MB / 393.2 MB, free: 3.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.04051, allocations: 0.7671 MB / 393.9 MB, free: 2.254 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008227/0.04873, allocations: 5.045 MB / 399 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01576/0.0645, allocations: 7.719 MB / 406.7 MB, free: 5.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00984/0.07434, allocations: 4.205 MB / 410.9 MB, free: 1.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006303/0.08064, allocations: 2.768 MB / 413.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002446/0.08309, allocations: 0.7617 MB / 414.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.08712, allocations: 0.9176 MB / 415.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002648/0.08977, allocations: 1.644 MB / 417 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005201/0.09497, allocations: 2.012 MB / 419 MB, free: 9.016 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.1105, allocations: 10.58 MB / 429.6 MB, free: 14.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1105, allocations: 0 / 429.6 MB, free: 14.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1105, allocations: 0 / 429.6 MB, free: 14.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003187/0.1108, allocations: 0 / 429.6 MB, free: 14.4 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.01957/0.1304, allocations: 6.301 MB / 435.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1304, allocations: 8.031 kB / 435.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02176/0.1522, allocations: 4.723 MB / 440.6 MB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1742/0.3264, allocations: 3.388 MB / 444 MB, free: 93.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004446/0.3269, allocations: 389.6 kB / 444.4 MB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/0.3288, allocations: 0.5026 MB / 444.9 MB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.3486, allocations: 8.699 MB / 453.6 MB, free: 90.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/0.3487, allocations: 8.797 kB / 453.6 MB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007371/0.3494, allocations: 214.3 kB / 453.8 MB, free: 90.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003157/0.3498, allocations: 339.4 kB / 454.1 MB, free: 90.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/0.365, allocations: 8.003 MB / 462.1 MB, free: 87.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04407/0.409, allocations: 22.58 MB / 484.7 MB, free: 75.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.4204, allocations: 4.561 MB / 489.3 MB, free: 74.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00285/0.4232, allocations: 1.49 MB / 490.8 MB, free: 74.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.4234, allocations: 72.34 kB / 490.8 MB, free: 74.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.4235, allocations: 60.86 kB / 490.9 MB, free: 74.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.138e-06/0.4235, allocations: 0 / 490.9 MB, free: 74.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.005076/0.4286, allocations: 3.522 MB / 494.4 MB, free: 72.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4286, allocations: 98.45 kB / 494.5 MB, free: 72.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.431, allocations: 1.994 MB / 496.5 MB, free: 72.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.4311, allocations: 61.7 kB / 496.6 MB, free: 71.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.4323, allocations: 2.261 MB / 498.8 MB, free: 70.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/0.4328, allocations: 0.7681 MB / 499.6 MB, free: 69.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/0.4336, allocations: 0.6949 MB / 0.4886 GB, free: 68.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.4337, allocations: 305.1 kB / 0.4888 GB, free: 68.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.4355, allocations: 1.569 MB / 0.4904 GB, free: 67.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/0.4381, allocations: 3.195 MB / 0.4935 GB, free: 63.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/0.4426, allocations: 5.077 MB / 0.4985 GB, free: 57.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-05/0.4427, allocations: 16 kB / 0.4985 GB, free: 57.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006284/0.4489, allocations: 5.062 MB / 0.5034 GB, free: 52.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.449, allocations: 28 kB / 0.5034 GB, free: 52.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/0.449, allocations: 56 kB / 0.5035 GB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-05/0.4491, allocations: 76.75 kB / 0.5036 GB, free: 52.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/0.4517, allocations: 0.9165 MB / 0.5045 GB, free: 51.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.17e-05/0.4518, allocations: 111.6 kB / 0.5046 GB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.4546, allocations: 481 kB / 0.505 GB, free: 50.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/0.4549, allocations: 196 kB / 0.5052 GB, free: 50.75 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.003816/0.4587, allocations: 2.077 MB / 0.5072 GB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/0.4592, allocations: 266.7 kB / 0.5075 GB, free: 48.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.4634, allocations: 3.095 MB / 0.5105 GB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.4634, allocations: 24 kB / 0.5105 GB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4634, allocations: 3.25 kB / 0.5105 GB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.4634, allocations: 11.95 kB / 0.5106 GB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.474, allocations: 7.593 MB / 0.518 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.474, allocations: 16 kB / 0.518 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/0.4759, allocations: 0.5539 MB / 0.5185 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.239e-05/0.4759, allocations: 28 kB / 0.5186 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.476, allocations: 83.69 kB / 0.5186 GB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.229e-05/0.476, allocations: 40.23 kB / 0.5187 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.476, allocations: 27.88 kB / 0.5187 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00548/0.4815, allocations: 5.237 MB / 0.5238 GB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.4826, allocations: 493.8 kB / 0.5243 GB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/0.4829, allocations: 67.98 kB / 0.5244 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.484, allocations: 127.9 kB / 0.5245 GB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.4843, allocations: 229.2 kB / 0.5247 GB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.4844, allocations: 91.98 kB / 0.5248 GB, free: 30.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001471/0.4859, allocations: 1.306 MB / 0.5261 GB, free: 28.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4859, allocations: 0 / 0.5261 GB, free: 28.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003668/0.4895, allocations: 1.199 MB / 0.5272 GB, free: 27.65 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.0004608/0.49, allocations: 223.7 kB / 0.5274 GB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005033/0.495, allocations: 3.477 MB / 0.5308 GB, free: 23.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.959e-05/0.495, allocations: 4 kB / 0.5308 GB, free: 23.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.4969, allocations: 1.476 MB / 0.5323 GB, free: 22.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.4996, allocations: 0.5058 MB / 0.5328 GB, free: 21.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.5131, allocations: 9.173 MB / 0.5417 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/0.5157, allocations: 3.113 MB / 0.5448 GB, free: 9.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002881/0.5186, allocations: 1.366 MB / 0.5461 GB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000579/0.5192, allocations: 228.4 kB / 0.5463 GB, free: 7.793 MB / 410.7 MB Notification: Performance of SimCode: time 2.324e-06/0.5192, allocations: 0 / 0.5463 GB, free: 7.793 MB / 410.7 MB Notification: Performance of Templates: time 0.05718/0.5763, allocations: 30.58 MB / 0.5762 GB, free: 9.602 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] 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.486730628064834]