Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.0008123/0.0008123, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001907, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007717/0.0007717, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009921/0.001764, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08203/1.093, allocations: 53.64 MB / 243.2 MB, free: 15.58 MB / 250.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.2771/0.2771, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02497/0.3021, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 4 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.627e-05, allocations: 3.297 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01984/0.01986, allocations: 18.57 MB / 311.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.03099, allocations: 5.281 MB / 316.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004948/0.03593, allocations: 191 kB / 316.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.04595, allocations: 8.275 MB / 324.9 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007861/0.05381, allocations: 2.12 MB / 327.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.05731, allocations: 1.396 MB / 328.4 MB, free: 2.316 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01313/0.07044, allocations: 12.71 MB / 341.2 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0251/0.09554, allocations: 16.77 MB / 357.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01692/0.1125, allocations: 10.14 MB / 368.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.1229, allocations: 7.31 MB / 375.4 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004398/0.1273, allocations: 1.719 MB / 377.1 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006398/0.1337, allocations: 1.933 MB / 379 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004972/0.1386, allocations: 2.973 MB / 382 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01171/0.1504, allocations: 3.927 MB / 385.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.167, allocations: 11.36 MB / 397.3 MB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.78e-05/0.167, allocations: 0 / 397.3 MB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.167, allocations: 0 / 397.3 MB, free: 13.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005753/0.1676, allocations: 0 / 397.3 MB, free: 13.08 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: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.02851/0.1961, allocations: 16.51 MB / 413.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1962, allocations: 8.625 kB / 413.8 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03003/0.2262, allocations: 10.04 MB / 423.9 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009705/0.2359, allocations: 3.645 MB / 427.5 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000654/0.2366, allocations: 0.8871 MB / 428.4 MB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/0.2396, allocations: 1.183 MB / 429.6 MB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.2596, allocations: 8.987 MB / 438.6 MB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000262/0.2599, allocations: 15.89 kB / 438.6 MB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001389/0.2613, allocations: 499.9 kB / 439.1 MB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004857/0.2617, allocations: 0.6538 MB / 439.7 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2105/0.4723, allocations: 4.152 MB / 443.9 MB, free: 86.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05694/0.5292, allocations: 34.22 MB / 478.1 MB, free: 76.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007064/0.5363, allocations: 5.442 MB / 483.5 MB, free: 74.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.5381, allocations: 1.147 MB / 484.7 MB, free: 73.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.5384, allocations: 229.1 kB / 484.9 MB, free: 73.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.216e-05/0.5385, allocations: 111.8 kB / 485 MB, free: 73.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=653): time 1.138e-05/0.5385, allocations: 0 / 485 MB, free: 73.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=653): time 0.005959/0.5444, allocations: 3 MB / 488 MB, free: 71.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.5445, allocations: 124.4 kB / 488.1 MB, free: 71.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.5469, allocations: 2.335 MB / 490.5 MB, free: 69.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.5472, allocations: 133.7 kB / 490.6 MB, free: 69.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.5485, allocations: 4.305 MB / 494.9 MB, free: 66.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.5496, allocations: 2.267 MB / 497.2 MB, free: 64.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.5511, allocations: 1.303 MB / 498.5 MB, free: 63.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.715e-05/0.5511, allocations: 305.1 kB / 498.8 MB, free: 62.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.5525, allocations: 0.702 MB / 499.5 MB, free: 62.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.5546, allocations: 3.522 MB / 0.4912 GB, free: 57.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/0.5592, allocations: 5.217 MB / 0.4963 GB, free: 51.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.1e-05/0.5593, allocations: 28 kB / 0.4963 GB, free: 51.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.006435/0.5657, allocations: 4.27 MB / 0.5005 GB, free: 47.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.5658, allocations: 44 kB / 0.5005 GB, free: 47.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.5659, allocations: 88 kB / 0.5006 GB, free: 47.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/0.5667, allocations: 376.4 kB / 0.501 GB, free: 47.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005168/0.5719, allocations: 2.037 MB / 0.503 GB, free: 45.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.5746, allocations: 7.262 MB / 0.5101 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/0.5783, allocations: 0.7409 MB / 0.5108 GB, free: 36.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008155/0.5791, allocations: 303.9 kB / 0.5111 GB, free: 36.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003013/0.5822, allocations: 0.6408 MB / 0.5117 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009077/0.5831, allocations: 491.6 kB / 0.5122 GB, free: 35.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/0.5882, allocations: 4.25 MB / 0.5163 GB, free: 31.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/0.5883, allocations: 68 kB / 0.5164 GB, free: 31.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.5883, allocations: 0 / 0.5164 GB, free: 31.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/0.5883, allocations: 35.81 kB / 0.5164 GB, free: 31.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03825/0.6266, allocations: 19.99 MB / 0.5359 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.632e-05/0.6266, allocations: 84 kB / 0.536 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003459/0.6301, allocations: 1.52 MB / 0.5375 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00253/0.6326, allocations: 0.8925 MB / 0.5384 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007049/0.6333, allocations: 350.3 kB / 0.5387 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/0.6337, allocations: 243.9 kB / 0.5389 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.6359, allocations: 7.244 MB / 0.546 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-05/0.636, allocations: 132.7 kB / 0.5461 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009183/0.6452, allocations: 8.791 MB / 0.5547 GB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009521/0.6461, allocations: 244 kB / 0.555 GB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/0.6484, allocations: 272 kB / 0.5552 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007296/0.6491, allocations: 0.7543 MB / 0.556 GB, free: 5.039 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003979/0.6495, allocations: 263.9 kB / 0.5562 GB, free: 4.781 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00152/0.6511, allocations: 1.081 MB / 0.5573 GB, free: 3.836 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6511, allocations: 0 / 0.5573 GB, free: 3.836 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007459/0.6585, allocations: 2.946 MB / 0.5601 GB, free: 0.8828 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009918/0.6595, allocations: 491.2 kB / 0.5606 GB, free: 0.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005983/0.6655, allocations: 4.354 MB / 0.5649 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002698/0.6658, allocations: 129.9 kB / 0.565 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/0.6685, allocations: 2.559 MB / 0.5675 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/0.6735, allocations: 1.738 MB / 0.5692 GB, free: 8.504 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1338/0.8073, allocations: 21.52 MB / 0.5902 GB, free: 1.922 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003886/0.8112, allocations: 2.558 MB / 0.5927 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003263/0.8145, allocations: 0.9207 MB / 0.5936 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002834/0.8173, allocations: 1.233 MB / 0.5948 GB, free: 13.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8173, allocations: 0 / 0.5948 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Templates: time 0.2845/1.102, allocations: 87.45 MB / 0.6802 GB, free: 90.59 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.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: 5.940342313610017]