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.001027/0.001027, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001733/0.00276, allocations: 452 kB / 10.43 MB, free: 264 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.001047/0.001047, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002589, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9582/0.9582, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1523/1.11, allocations: 49.51 MB / 220.7 MB, free: 1.352 MB / 218.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.1313/0.1313, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02715/0.1584, allocations: 12.31 MB / 266.1 MB, free: 3.875 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 1.312e-06/1.312e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.922e-05, allocations: 10.19 kB / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.1532/0.1532, allocations: 18.68 MB / 286.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.1647, allocations: 5.292 MB / 291.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/0.1687, allocations: 161.5 kB / 291.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009525/0.1783, allocations: 8.31 MB / 299.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006737/0.185, allocations: 2.205 MB / 302 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.188, allocations: 1.399 MB / 303.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01233/0.2004, allocations: 12.89 MB / 316.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02306/0.2234, allocations: 16.81 MB / 333.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01947/0.2429, allocations: 10.26 MB / 343.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/0.2544, allocations: 7.435 MB / 350.8 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004962/0.2593, allocations: 1.734 MB / 352.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007882/0.2672, allocations: 1.941 MB / 354.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005849/0.2731, allocations: 3.032 MB / 357.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0109/0.284, allocations: 3.978 MB / 361.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.3002, allocations: 11.47 MB / 373 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.3002, allocations: 0 / 373 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3002, allocations: 0 / 373 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005365/0.3007, allocations: 0 / 373 MB, free: 14.63 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.02885/0.3296, allocations: 16.78 MB / 389.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3296, allocations: 8.031 kB / 389.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0361/0.3657, allocations: 11.06 MB / 400.8 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.3761, allocations: 3.072 MB / 403.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007929/0.3769, allocations: 0.9032 MB / 404.8 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004222/0.3811, allocations: 1.191 MB / 406 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.4011, allocations: 9.158 MB / 415.2 MB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002495/0.4013, allocations: 23.81 kB / 415.2 MB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/0.4026, allocations: 0.496 MB / 415.7 MB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006522/0.4032, allocations: 0.6544 MB / 416.3 MB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.4165, allocations: 4.323 MB / 420.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2134/0.6299, allocations: 34.82 MB / 455.5 MB, free: 94.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007413/0.6373, allocations: 5.904 MB / 461.4 MB, free: 94.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.639, allocations: 1.176 MB / 462.6 MB, free: 94.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.6392, allocations: 177.9 kB / 462.7 MB, free: 94.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.642e-05/0.6393, allocations: 113.5 kB / 462.8 MB, free: 94.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=674): time 8.035e-06/0.6393, allocations: 0 / 462.8 MB, free: 94.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=674): time 0.00509/0.6444, allocations: 3.037 MB / 465.9 MB, free: 94.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.6445, allocations: 129.2 kB / 466 MB, free: 94.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/0.6471, allocations: 2.443 MB / 468.5 MB, free: 93.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003726/0.6475, allocations: 137.2 kB / 468.6 MB, free: 93.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.6491, allocations: 4.42 MB / 473 MB, free: 91.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.6503, allocations: 2.347 MB / 475.4 MB, free: 90.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.6516, allocations: 1.358 MB / 476.7 MB, free: 89.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.764e-05/0.6516, allocations: 302.1 kB / 477 MB, free: 89.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.6528, allocations: 0.7229 MB / 477.7 MB, free: 89.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.6547, allocations: 3.777 MB / 481.5 MB, free: 85.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004338/0.659, allocations: 5.723 MB / 487.2 MB, free: 82.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.853e-05/0.6591, allocations: 27.38 kB / 487.3 MB, free: 82.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.006156/0.6653, allocations: 4.485 MB / 491.7 MB, free: 81.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.6653, allocations: 53.03 kB / 491.8 MB, free: 81.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.6654, allocations: 102.2 kB / 491.9 MB, free: 81.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007356/0.6661, allocations: 380.1 kB / 492.3 MB, free: 81.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/0.6701, allocations: 2.107 MB / 494.4 MB, free: 81.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.6728, allocations: 7.288 MB / 0.4899 GB, free: 75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/0.6767, allocations: 0.7922 MB / 0.4907 GB, free: 74.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006643/0.6774, allocations: 314.7 kB / 0.491 GB, free: 74.57 MB / 426.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.002756/0.6802, allocations: 0.6719 MB / 0.4916 GB, free: 74.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008114/0.681, allocations: 0.4979 MB / 0.4921 GB, free: 74.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004724/0.6857, allocations: 4.794 MB / 0.4968 GB, free: 73.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.6857, allocations: 73.69 kB / 0.4969 GB, free: 73.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6857, allocations: 0 / 0.4969 GB, free: 73.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/0.6857, allocations: 36.89 kB / 0.4969 GB, free: 73.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03895/0.7247, allocations: 20.12 MB / 0.5165 GB, free: 58.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.874e-05/0.7248, allocations: 88.97 kB / 0.5166 GB, free: 58.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/0.7279, allocations: 1.529 MB / 0.5181 GB, free: 57.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/0.73, allocations: 0.8966 MB / 0.519 GB, free: 56.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005787/0.7305, allocations: 358.2 kB / 0.5193 GB, free: 56.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002493/0.7308, allocations: 242.4 kB / 0.5196 GB, free: 56.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.7328, allocations: 7.246 MB / 0.5267 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-05/0.7328, allocations: 134.7 kB / 0.5268 GB, free: 48.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006007/0.7388, allocations: 8.979 MB / 0.5355 GB, free: 37.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006934/0.7395, allocations: 255.4 kB / 0.5358 GB, free: 37.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/0.7416, allocations: 287 kB / 0.5361 GB, free: 37.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006449/0.7422, allocations: 0.7546 MB / 0.5368 GB, free: 36.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003674/0.7426, allocations: 261.5 kB / 0.5371 GB, free: 36.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00127/0.7439, allocations: 1.124 MB / 0.5381 GB, free: 35.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7439, allocations: 0 / 0.5381 GB, free: 35.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00709/0.751, allocations: 3.002 MB / 0.5411 GB, free: 32.84 MB / 426.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.0009438/0.7519, allocations: 483.9 kB / 0.5415 GB, free: 32.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00593/0.7578, allocations: 4.621 MB / 0.5461 GB, free: 28.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002647/0.7581, allocations: 129.9 kB / 0.5462 GB, free: 28.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01098/0.7691, allocations: 4.74 MB / 0.5508 GB, free: 24.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006497/0.7756, allocations: 8.921 MB / 0.5595 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0709/0.8465, allocations: 21.27 MB / 0.5803 GB, free: 8.039 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004269/0.8507, allocations: 2.582 MB / 0.5828 GB, free: 5.426 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003343/0.8541, allocations: 0.9227 MB / 0.5837 GB, free: 4.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/0.8566, allocations: 1.163 MB / 0.5849 GB, free: 3.328 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8566, allocations: 0 / 0.5849 GB, free: 3.328 MB / 442.7 MB Notification: Performance of Templates: time 0.2644/1.121, allocations: 86.98 MB / 0.6698 GB, free: 119.7 MB / 474.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.099396759644151]