Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00184/0.003058, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006973/0.0006973, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001181/0.001879, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9854/0.9854, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1823/1.168, allocations: 52.5 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1394/0.1394, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0205/0.1599, allocations: 12.54 MB / 284.5 MB, free: 9.707 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 285.8 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.891e-05, allocations: 2.312 kB / 285.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005246/0.005264, allocations: 6.699 MB / 292.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.009493, allocations: 2.228 MB / 294.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.01025, allocations: 23.94 kB / 294.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.01223, allocations: 1.609 MB / 296.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.01386, allocations: 0.8309 MB / 297.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.01497, allocations: 0.5646 MB / 297.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.01631, allocations: 1.19 MB / 299 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.01741, allocations: 0.7377 MB / 299.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009213/0.01834, allocations: 0.7201 MB / 300.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.01892, allocations: 478.6 kB / 300.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.01908, allocations: 100 kB / 301 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.01984, allocations: 283.6 kB / 301.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005411/0.02038, allocations: 175.4 kB / 301.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.02073, allocations: 311.4 kB / 301.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.02214, allocations: 0.9337 MB / 302.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.02215, allocations: 0 / 302.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02216, allocations: 0 / 302.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.651e-05/0.02219, allocations: 0 / 302.7 MB, free: 7.461 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002546/0.02474, allocations: 1.979 MB / 304.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.02477, allocations: 12.03 kB / 304.7 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/0.02948, allocations: 1.819 MB / 306.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.03015, allocations: 331.7 kB / 306.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.153e-05/0.0302, allocations: 86.78 kB / 306.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.03033, allocations: 132.1 kB / 307 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.0312, allocations: 0.9265 MB / 308 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.03123, allocations: 7.938 kB / 308 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.03129, allocations: 52 kB / 308 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.03131, allocations: 28 kB / 308.1 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.03222, allocations: 0.5567 MB / 308.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.03582, allocations: 2.665 MB / 311.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.03661, allocations: 0.5881 MB / 311.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.03678, allocations: 143.8 kB / 312 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.75e-05/0.03686, allocations: 24.98 kB / 312 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.0369, allocations: 43.56 kB / 312.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.0369, allocations: 0 / 312.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.0007628/0.03767, allocations: 500 kB / 312.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.0377, allocations: 64.34 kB / 312.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.03797, allocations: 395 kB / 313 MB, free: 12.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.03801, allocations: 41.7 kB / 313.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.03822, allocations: 480.4 kB / 313.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.03838, allocations: 321.2 kB / 313.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.03855, allocations: 182.8 kB / 314 MB, free: 11.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.03867, allocations: 374.6 kB / 314.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.03881, allocations: 102.6 kB / 314.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.03905, allocations: 355.6 kB / 314.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.03952, allocations: 0.5703 MB / 315.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.03952, allocations: 0 / 315.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008407/0.04037, allocations: 0.5668 MB / 316 MB, free: 9.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.04039, allocations: 8 kB / 316 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.0404, allocations: 8 kB / 316 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.04061, allocations: 74.38 kB / 316.1 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.04113, allocations: 283.6 kB / 316.3 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.04225, allocations: 2.364 MB / 318.7 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.0426, allocations: 107.3 kB / 318.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.04264, allocations: 35.98 kB / 318.8 MB, free: 6.617 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001677/0.04281, allocations: 173.5 kB / 319 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.04288, allocations: 71.94 kB / 319.1 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/0.04353, allocations: 0.6876 MB / 319.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.04354, allocations: 12 kB / 319.8 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.04354, allocations: 0 / 319.8 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.04355, allocations: 3.984 kB / 319.8 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.04479, allocations: 1.19 MB / 321 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.0448, allocations: 8 kB / 321 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.04519, allocations: 207.7 kB / 321.2 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.04526, allocations: 79.77 kB / 321.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.0454, allocations: 65.66 kB / 321.3 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.04544, allocations: 27.98 kB / 321.3 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.04674, allocations: 2.344 MB / 323.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.04674, allocations: 15.88 kB / 323.7 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.0474, allocations: 0.7886 MB / 324.5 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.04746, allocations: 35.88 kB / 324.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.04769, allocations: 56.02 kB / 324.6 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.04778, allocations: 84.28 kB / 324.7 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.0478, allocations: 24 kB / 324.7 MB, free: 340 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.04792, allocations: 168.7 kB / 324.9 MB, free: 168 kB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04792, allocations: 0 / 324.9 MB, free: 168 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.1805/0.2285, allocations: 323.4 kB / 325.2 MB, free: 22.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003205/0.2288, allocations: 143.6 kB / 325.3 MB, free: 22.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009706/0.2298, allocations: 0.7045 MB / 326 MB, free: 21.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-05/0.2298, allocations: 20.12 kB / 326 MB, free: 21.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.2303, allocations: 0.5249 MB / 326.6 MB, free: 21.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.2308, allocations: 0.5879 MB / 327.1 MB, free: 21.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00944/0.2403, allocations: 1.785 MB / 328.9 MB, free: 20.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.2404, allocations: 179 kB / 329.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000434/0.2409, allocations: 115.3 kB / 329.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.2412, allocations: 181.5 kB / 329.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2412, allocations: 0 / 329.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of Templates: time 0.01478/0.256, allocations: 9.512 MB / 338.9 MB, free: 18.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/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: 3.282518899999559]