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.0007578/0.0007578, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.001896, allocations: 449.8 kB / 10.44 MB, free: 252 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.001071/0.001071, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.002095, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9329/0.9329, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0877/1.021, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.2389/0.2389, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02817/0.2671, allocations: 13.11 MB / 291.5 MB, free: 7.328 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 1.513e-06/1.513e-06, allocations: 0 / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.254e-05, allocations: 3.438 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01316/0.01318, allocations: 18.58 MB / 311.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009849/0.02303, allocations: 5.281 MB / 316.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.02639, allocations: 195 kB / 316.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009127/0.03552, allocations: 8.267 MB / 325.1 MB, free: 5.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.04181, allocations: 2.12 MB / 327.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.04557, allocations: 1.402 MB / 328.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01147/0.05704, allocations: 12.71 MB / 341.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02265/0.07969, allocations: 16.77 MB / 358.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01708/0.09677, allocations: 10.14 MB / 368.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.1075, allocations: 7.31 MB / 375.6 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005247/0.1128, allocations: 1.723 MB / 377.3 MB, free: 1.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008229/0.121, allocations: 1.933 MB / 379.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005598/0.1266, allocations: 2.969 MB / 382.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01215/0.1388, allocations: 3.931 MB / 386.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.019/0.1578, allocations: 11.32 MB / 397.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.1578, allocations: 0 / 397.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1578, allocations: 0 / 397.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006898/0.1585, allocations: 4 kB / 397.5 MB, free: 13.01 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.02944/0.1879, allocations: 16.52 MB / 414 MB, free: 12.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1879, allocations: 8.625 kB / 414 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03244/0.2204, allocations: 10.02 MB / 424 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009987/0.2304, allocations: 3.649 MB / 427.7 MB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005879/0.231, allocations: 0.8871 MB / 428.6 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002311/0.2333, allocations: 1.18 MB / 429.7 MB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.2477, allocations: 8.987 MB / 438.7 MB, free: 3.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.2479, allocations: 15.89 kB / 438.7 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008495/0.2487, allocations: 500 kB / 439.2 MB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005012/0.2492, allocations: 0.6265 MB / 439.9 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1736/0.4229, allocations: 4.156 MB / 444 MB, free: 87.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03744/0.4603, allocations: 34.23 MB / 478.2 MB, free: 77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004995/0.4653, allocations: 5.446 MB / 483.7 MB, free: 74.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.4665, allocations: 1.147 MB / 484.8 MB, free: 74.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.4667, allocations: 220.1 kB / 485 MB, free: 74.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.4668, allocations: 107.2 kB / 485.1 MB, free: 74.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=653): time 7.574e-06/0.4668, allocations: 0 / 485.1 MB, free: 74.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=653): time 0.003813/0.4706, allocations: 3.008 MB / 488.2 MB, free: 72.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.4707, allocations: 116.5 kB / 488.3 MB, free: 71.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.4721, allocations: 2.344 MB / 490.6 MB, free: 70.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000227/0.4723, allocations: 137.7 kB / 490.7 MB, free: 70.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/0.4733, allocations: 4.304 MB / 495.1 MB, free: 66.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008123/0.4741, allocations: 2.267 MB / 497.3 MB, free: 64.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.4752, allocations: 1.306 MB / 498.6 MB, free: 63.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.775e-05/0.4752, allocations: 311.8 kB / 498.9 MB, free: 63.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009129/0.4761, allocations: 0.6981 MB / 499.6 MB, free: 62.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.4777, allocations: 3.517 MB / 0.4914 GB, free: 57.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.4813, allocations: 5.406 MB / 0.4966 GB, free: 51.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.566e-05/0.4813, allocations: 28 kB / 0.4967 GB, free: 51.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.004266/0.4855, allocations: 4.275 MB / 0.5008 GB, free: 47.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.4856, allocations: 44 kB / 0.5009 GB, free: 47.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-05/0.4856, allocations: 88 kB / 0.501 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.4862, allocations: 364.1 kB / 0.5013 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/0.4897, allocations: 2.042 MB / 0.5033 GB, free: 45.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.4921, allocations: 7.262 MB / 0.5104 GB, free: 37.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.4944, allocations: 0.7368 MB / 0.5111 GB, free: 37.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/0.4947, allocations: 303.9 kB / 0.5114 GB, free: 36.8 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.002061/0.4968, allocations: 0.6437 MB / 0.512 GB, free: 36.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005462/0.4973, allocations: 491.6 kB / 0.5125 GB, free: 35.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.5014, allocations: 4.246 MB / 0.5166 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.5014, allocations: 68 kB / 0.5167 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5014, allocations: 0 / 0.5167 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/0.5014, allocations: 35.81 kB / 0.5167 GB, free: 31.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03184/0.5333, allocations: 19.99 MB / 0.5363 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/0.5333, allocations: 92.03 kB / 0.5364 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/0.536, allocations: 1.523 MB / 0.5378 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/0.5376, allocations: 0.8854 MB / 0.5387 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.5381, allocations: 351.2 kB / 0.539 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002529/0.5383, allocations: 239.9 kB / 0.5393 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.5403, allocations: 7.251 MB / 0.5464 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-05/0.5404, allocations: 134.3 kB / 0.5465 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006644/0.547, allocations: 8.799 MB / 0.5551 GB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/0.5476, allocations: 243.9 kB / 0.5553 GB, free: 6.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.5493, allocations: 272 kB / 0.5556 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006539/0.55, allocations: 0.7509 MB / 0.5563 GB, free: 5.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003111/0.5503, allocations: 255.9 kB / 0.5565 GB, free: 5.016 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.5513, allocations: 1.086 MB / 0.5576 GB, free: 4.066 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5513, allocations: 0 / 0.5576 GB, free: 4.066 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005862/0.5572, allocations: 2.944 MB / 0.5605 GB, free: 1.113 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.0005843/0.5578, allocations: 490.2 kB / 0.5609 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004537/0.5623, allocations: 4.467 MB / 0.5653 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001741/0.5625, allocations: 125.9 kB / 0.5654 GB, free: 12.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009529/0.572, allocations: 4.678 MB / 0.57 GB, free: 8.152 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006356/0.5784, allocations: 8.888 MB / 0.5787 GB, free: 13.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07799/0.6563, allocations: 20.51 MB / 0.5987 GB, free: 8.363 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/0.659, allocations: 2.526 MB / 0.6012 GB, free: 5.809 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003174/0.6622, allocations: 0.8898 MB / 0.602 GB, free: 4.914 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003556/0.6657, allocations: 1.171 MB / 0.6032 GB, free: 3.738 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/0.6657, allocations: 0 / 0.6032 GB, free: 3.738 MB / 490.7 MB Notification: Performance of Templates: time 0.2392/0.9049, allocations: 87.75 MB / 0.6889 GB, free: 79.96 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.354597986675799]