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.0009577/0.0009577, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001032/0.001032, allocations: 168.5 kB / 24.84 MB, free: 9.297 MB / 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 1.039/1.039, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1579/0.1579, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.194e-06/2.194e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.798e-05, allocations: 5.406 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01224/0.01225, allocations: 18.51 MB / 367.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009516/0.02177, allocations: 4.947 MB / 372.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003889/0.02566, allocations: 163.1 kB / 372.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009494/0.03515, allocations: 8.112 MB / 380.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007336/0.04249, allocations: 2.221 MB / 382.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.04593, allocations: 1.376 MB / 384.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01387/0.0598, allocations: 12.82 MB / 397.1 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02977/0.08957, allocations: 16.84 MB / 413.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01902/0.1086, allocations: 9.949 MB / 423.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.1206, allocations: 7.4 MB / 431.3 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006471/0.1271, allocations: 1.734 MB / 433 MB, free: 4.645 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007593/0.1347, allocations: 1.929 MB / 434.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1761/0.3108, allocations: 3.863 MB / 438.8 MB, free: 45.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01048/0.3212, allocations: 4.838 MB / 443.6 MB, free: 45.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02048/0.3417, allocations: 12.15 MB / 455.8 MB, free: 44.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3417, allocations: 3.5 kB / 455.8 MB, free: 44.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3417, allocations: 0 / 455.8 MB, free: 44.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006915/0.3424, allocations: 0 / 455.8 MB, free: 44.65 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.03801/0.3804, allocations: 15.48 MB / 471.3 MB, free: 38.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3805, allocations: 7.5 kB / 471.3 MB, free: 38.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03579/0.4163, allocations: 10.21 MB / 481.5 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.4281, allocations: 5.387 MB / 486.9 MB, free: 29.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008295/0.4289, allocations: 0.9071 MB / 487.8 MB, free: 28.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005519/0.4344, allocations: 1.199 MB / 489 MB, free: 27.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/0.4651, allocations: 7.609 MB / 496.6 MB, free: 19.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006287/0.4657, allocations: 14.95 kB / 496.6 MB, free: 19.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005498/0.4712, allocations: 0.4976 MB / 497.1 MB, free: 18.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007594/0.472, allocations: 0.6817 MB / 497.8 MB, free: 18.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/0.4912, allocations: 5.035 MB / 0.491 GB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08317/0.5744, allocations: 45.57 MB / 0.5355 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009545/0.5839, allocations: 7.088 MB / 0.5424 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.5863, allocations: 1.384 MB / 0.5438 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.5867, allocations: 173.2 kB / 0.544 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.213e-05/0.5867, allocations: 114.7 kB / 0.5441 GB, free: 9.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=674): time 8.036e-06/0.5867, allocations: 0 / 0.5441 GB, free: 9.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=674): time 0.006936/0.5937, allocations: 4.096 MB / 0.5481 GB, free: 5.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.5938, allocations: 120.7 kB / 0.5482 GB, free: 5.191 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.5991, allocations: 3.602 MB / 0.5517 GB, free: 2.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001146/0.6002, allocations: 137.7 kB / 0.5518 GB, free: 1.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004084/0.6043, allocations: 5.128 MB / 0.5568 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002897/0.6072, allocations: 2.483 MB / 0.5593 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.6092, allocations: 1.728 MB / 0.561 GB, free: 8.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6093, allocations: 483.6 kB / 0.5614 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.6108, allocations: 0.8274 MB / 0.5622 GB, free: 7.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/0.6145, allocations: 5.43 MB / 0.5675 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/0.6215, allocations: 7.123 MB / 0.5745 GB, free: 8.059 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/0.6216, allocations: 28 kB / 0.5745 GB, free: 8.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.009285/0.6309, allocations: 5.713 MB / 0.5801 GB, free: 2.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.6309, allocations: 52.06 kB / 0.5801 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.631, allocations: 96 kB / 0.5802 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008092/0.6318, allocations: 408.4 kB / 0.5806 GB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/0.6361, allocations: 1.842 MB / 0.5824 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00537/0.6415, allocations: 10.64 MB / 0.5928 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/0.646, allocations: 0.7911 MB / 0.5936 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000879/0.6469, allocations: 332 kB / 0.5939 GB, free: 4.25 MB / 458.7 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.004002/0.6509, allocations: 0.718 MB / 0.5946 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/0.6522, allocations: 0.7038 MB / 0.5953 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2084/0.8606, allocations: 6.043 MB / 0.6012 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/0.8606, allocations: 67.59 kB / 0.6013 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.8606, allocations: 7.188 kB / 0.6013 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/0.8607, allocations: 34.12 kB / 0.6013 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05801/0.9187, allocations: 23.61 MB / 0.6243 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001923/0.9189, allocations: 86.88 kB / 0.6244 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003227/0.9221, allocations: 1.342 MB / 0.6257 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.9232, allocations: 379.2 kB / 0.6261 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006703/0.9239, allocations: 252.5 kB / 0.6263 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/0.9276, allocations: 10.59 MB / 0.6367 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-05/0.9276, allocations: 141.7 kB / 0.6368 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.9393, allocations: 10.15 MB / 0.6467 GB, free: 95.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/0.9423, allocations: 1.24 MB / 0.6479 GB, free: 94.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009523/0.9433, allocations: 254.6 kB / 0.6482 GB, free: 94.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/0.9458, allocations: 287.1 kB / 0.6485 GB, free: 94.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007846/0.9465, allocations: 0.7662 MB / 0.6492 GB, free: 93.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004022/0.9469, allocations: 270.7 kB / 0.6495 GB, free: 93.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002018/0.949, allocations: 1.527 MB / 0.651 GB, free: 92.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.949, allocations: 4 kB / 0.651 GB, free: 92.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009041/0.958, allocations: 3.001 MB / 0.6539 GB, free: 89.88 MB / 458.7 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.001621/0.9596, allocations: 0.4897 MB / 0.6544 GB, free: 89.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008478/0.9681, allocations: 5.332 MB / 0.6596 GB, free: 85.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.99e-05/0.9682, allocations: 12 kB / 0.6596 GB, free: 85.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00476/0.973, allocations: 3.15 MB / 0.6627 GB, free: 83.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007526/0.9805, allocations: 1.306 MB / 0.6639 GB, free: 82.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/1.015, allocations: 21.51 MB / 0.685 GB, free: 63.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/1.021, allocations: 3.464 MB / 0.6883 GB, free: 61.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004241/1.025, allocations: 0.9541 MB / 0.6893 GB, free: 61.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00255/1.027, allocations: 1.36 MB / 0.6906 GB, free: 59.98 MB / 458.7 MB Notification: Performance of SimCode: time 1.914e-06/1.027, allocations: 0 / 0.6906 GB, free: 59.98 MB / 458.7 MB Notification: Performance of Templates: time 0.1124/1.14, allocations: 84.79 MB / 0.7734 GB, free: 8.562 MB / 490.7 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: 6.521615044213831]