Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.0009454/0.0009454, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001036/0.001036, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8871/0.8871, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1336/0.1336, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.313e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.1466/0.1466, allocations: 18.52 MB / 317.6 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.1581, allocations: 5.239 MB / 322.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.1609, allocations: 166.8 kB / 323 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007549/0.1685, allocations: 8.345 MB / 331.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004895/0.1734, allocations: 2.23 MB / 333.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.1754, allocations: 1.408 MB / 335 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008877/0.1843, allocations: 12.82 MB / 347.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01992/0.2042, allocations: 17.35 MB / 365.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.2147, allocations: 9.992 MB / 375.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007955/0.2227, allocations: 7.474 MB / 382.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002308/0.225, allocations: 1.734 MB / 384.3 MB, free: 8.613 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.2276, allocations: 1.929 MB / 386.3 MB, free: 6.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00271/0.2303, allocations: 3.869 MB / 390.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004918/0.2352, allocations: 4.842 MB / 395 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.2457, allocations: 12.14 MB / 407.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2458, allocations: 3.938 kB / 407.1 MB, free: 1.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2458, allocations: 4 kB / 407.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003372/0.2461, allocations: 0 / 407.1 MB, free: 1.773 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.0166/0.2627, allocations: 14.35 MB / 421.5 MB, free: 3.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2627, allocations: 8.031 kB / 421.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0281/0.2908, allocations: 11.07 MB / 432.6 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005792/0.2966, allocations: 3.061 MB / 435.6 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/0.2971, allocations: 0.911 MB / 436.5 MB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.2984, allocations: 1.195 MB / 437.7 MB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.3097, allocations: 9.158 MB / 446.9 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/0.3099, allocations: 19.88 kB / 446.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008457/0.3107, allocations: 0.496 MB / 447.4 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004441/0.3112, allocations: 0.6817 MB / 448.1 MB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006222/0.3174, allocations: 4.327 MB / 452.4 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3055/0.6229, allocations: 34.63 MB / 487 MB, free: 82.91 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005407/0.6283, allocations: 5.848 MB / 492.9 MB, free: 80.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.6297, allocations: 1.175 MB / 494.1 MB, free: 80.59 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003247/0.63, allocations: 180.3 kB / 494.2 MB, free: 80.57 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/0.63, allocations: 106.7 kB / 494.3 MB, free: 80.48 MB / 410.8 MB Notification: Performance of pre-optimization done (n=674): time 9.157e-06/0.6301, allocations: 0 / 494.3 MB, free: 80.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=674): time 0.004457/0.6345, allocations: 3.044 MB / 497.4 MB, free: 78.09 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.6346, allocations: 127.4 kB / 497.5 MB, free: 77.95 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.6363, allocations: 2.436 MB / 499.9 MB, free: 76.5 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.6365, allocations: 133.7 kB / 0.4884 GB, free: 76.37 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.6379, allocations: 4.43 MB / 0.4927 GB, free: 73.41 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.639, allocations: 2.346 MB / 0.495 GB, free: 71.66 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.6402, allocations: 1.351 MB / 0.4963 GB, free: 70.58 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.6402, allocations: 304.5 kB / 0.4966 GB, free: 70.28 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009681/0.6412, allocations: 0.7223 MB / 0.4973 GB, free: 69.66 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.643, allocations: 3.777 MB / 0.501 GB, free: 64.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/0.6469, allocations: 5.513 MB / 0.5064 GB, free: 58.72 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-05/0.6469, allocations: 28 kB / 0.5064 GB, free: 58.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.004724/0.6516, allocations: 4.491 MB / 0.5108 GB, free: 54.77 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.6517, allocations: 44 kB / 0.5108 GB, free: 54.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.544e-05/0.6517, allocations: 100 kB / 0.5109 GB, free: 54.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007486/0.6525, allocations: 381.2 kB / 0.5113 GB, free: 54.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.6556, allocations: 1.812 MB / 0.513 GB, free: 52.56 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.6577, allocations: 7.27 MB / 0.5201 GB, free: 44.91 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.6601, allocations: 0.7998 MB / 0.5209 GB, free: 44.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/0.6604, allocations: 316 kB / 0.5212 GB, free: 43.98 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.002382/0.6628, allocations: 0.6706 MB / 0.5219 GB, free: 43.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006106/0.6634, allocations: 0.5074 MB / 0.5224 GB, free: 42.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/0.6677, allocations: 4.784 MB / 0.527 GB, free: 38.51 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.6677, allocations: 71.66 kB / 0.5271 GB, free: 38.44 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6677, allocations: 7.938 kB / 0.5271 GB, free: 38.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.6677, allocations: 35.86 kB / 0.5272 GB, free: 38.4 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03484/0.7026, allocations: 20.13 MB / 0.5468 GB, free: 18.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.7026, allocations: 88.22 kB / 0.5469 GB, free: 18.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/0.705, allocations: 1.319 MB / 0.5482 GB, free: 17.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/0.7056, allocations: 351.9 kB / 0.5485 GB, free: 17.04 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002545/0.7059, allocations: 236 kB / 0.5487 GB, free: 16.81 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.7079, allocations: 7.234 MB / 0.5558 GB, free: 9.176 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-05/0.7079, allocations: 137.8 kB / 0.5559 GB, free: 9.078 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006948/0.7149, allocations: 8.982 MB / 0.5647 GB, free: 13.87 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/0.7165, allocations: 0.8962 MB / 0.5656 GB, free: 13 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/0.7169, allocations: 243.9 kB / 0.5658 GB, free: 12.76 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.7187, allocations: 288 kB / 0.5661 GB, free: 12.48 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006198/0.7193, allocations: 0.7585 MB / 0.5668 GB, free: 11.79 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/0.7196, allocations: 256 kB / 0.5671 GB, free: 11.54 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001211/0.7208, allocations: 1.124 MB / 0.5682 GB, free: 10.56 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7208, allocations: 4 kB / 0.5682 GB, free: 10.56 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00641/0.7272, allocations: 3.002 MB / 0.5711 GB, free: 7.547 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.0006436/0.7279, allocations: 490.8 kB / 0.5716 GB, free: 7.168 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00534/0.7332, allocations: 4.475 MB / 0.5759 GB, free: 3.16 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001278/0.7334, allocations: 75.94 kB / 0.576 GB, free: 3.082 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002415/0.7358, allocations: 2.599 MB / 0.5786 GB, free: 0.5234 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/0.7398, allocations: 1.306 MB / 0.5798 GB, free: 15.25 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02439/0.7642, allocations: 20.42 MB / 0.5998 GB, free: 9.668 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/0.7669, allocations: 2.52 MB / 0.6022 GB, free: 7.113 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003116/0.77, allocations: 0.9561 MB / 0.6032 GB, free: 6.156 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/0.7725, allocations: 1.218 MB / 0.6044 GB, free: 4.93 MB / 458.8 MB Notification: Performance of SimCode: time 1.573e-06/0.7725, allocations: 4 kB / 0.6044 GB, free: 4.926 MB / 458.8 MB Notification: Performance of Templates: time 0.2473/1.02, allocations: 83.59 MB / 0.686 GB, free: 100.6 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/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.397146027069539]