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.0007773/0.0007773, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001795, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007088/0.0007088, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008901/0.001599, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9426/0.9426, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1958/1.138, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.1571/0.1571, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02335/0.1804, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.154e-06/2.154e-06, allocations: 0 / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.126e-05, allocations: 2.312 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01405/0.01407, allocations: 18.69 MB / 285.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.02539, allocations: 5.283 MB / 291.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/0.02917, allocations: 163.1 kB / 291.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009407/0.03857, allocations: 8.306 MB / 299.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00702/0.04559, allocations: 2.214 MB / 301.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.04915, allocations: 1.391 MB / 303.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01424/0.06339, allocations: 12.89 MB / 316.1 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02768/0.09107, allocations: 16.82 MB / 333 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1782/0.2693, allocations: 10.25 MB / 343.2 MB, free: 17.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.2826, allocations: 7.431 MB / 350.7 MB, free: 17.74 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006405/0.289, allocations: 1.736 MB / 352.4 MB, free: 17.74 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00789/0.2969, allocations: 1.942 MB / 354.3 MB, free: 17.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006114/0.303, allocations: 3.025 MB / 357.4 MB, free: 17.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01503/0.318, allocations: 3.975 MB / 361.3 MB, free: 17.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.3342, allocations: 11.5 MB / 372.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.303e-05/0.3342, allocations: 0 / 372.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3342, allocations: 0 / 372.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000685/0.3349, allocations: 4 kB / 372.8 MB, free: 10.98 MB / 330.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.03533/0.3702, allocations: 16.79 MB / 389.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3703, allocations: 12.03 kB / 389.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0372/0.4075, allocations: 11.07 MB / 400.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.4192, allocations: 3.071 MB / 403.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000823/0.42, allocations: 0.8999 MB / 404.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005409/0.4254, allocations: 1.201 MB / 405.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03303/0.4585, allocations: 9.156 MB / 415 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004755/0.4589, allocations: 19.89 kB / 415.1 MB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003855/0.4628, allocations: 0.4951 MB / 415.5 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005251/0.4633, allocations: 0.6856 MB / 416.2 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.4819, allocations: 4.322 MB / 420.6 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07068/0.5526, allocations: 34.82 MB / 455.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007662/0.5602, allocations: 5.91 MB / 461.3 MB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.5621, allocations: 1.177 MB / 462.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.5624, allocations: 185.2 kB / 462.6 MB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.515e-05/0.5625, allocations: 103.8 kB / 462.7 MB, free: 5.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=674): time 8.135e-06/0.5625, allocations: 4 kB / 462.8 MB, free: 5.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=674): time 0.005189/0.5677, allocations: 3.041 MB / 465.8 MB, free: 2.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.5678, allocations: 120.7 kB / 465.9 MB, free: 2.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.5705, allocations: 2.446 MB / 468.4 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003689/0.5709, allocations: 133.7 kB / 468.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002482/0.5733, allocations: 4.427 MB / 472.9 MB, free: 12.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/0.575, allocations: 2.335 MB / 475.3 MB, free: 10.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.5766, allocations: 1.369 MB / 476.6 MB, free: 8.914 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.5767, allocations: 304.9 kB / 476.9 MB, free: 8.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.5779, allocations: 0.7184 MB / 477.6 MB, free: 7.891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/0.5809, allocations: 3.769 MB / 481.4 MB, free: 2.945 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006368/0.5872, allocations: 5.521 MB / 486.9 MB, free: 12.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/0.5874, allocations: 28 kB / 487 MB, free: 12.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.007902/0.5953, allocations: 4.486 MB / 491.4 MB, free: 8.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.5953, allocations: 52.03 kB / 491.5 MB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-05/0.5954, allocations: 102.8 kB / 491.6 MB, free: 8.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007684/0.5962, allocations: 368.6 kB / 492 MB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/0.6005, allocations: 2.108 MB / 494.1 MB, free: 6.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.6047, allocations: 7.296 MB / 0.4896 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.6088, allocations: 0.7911 MB / 0.4904 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006452/0.6094, allocations: 316 kB / 0.4907 GB, free: 13.29 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.002825/0.6122, allocations: 0.6731 MB / 0.4913 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009077/0.6131, allocations: 0.4957 MB / 0.4918 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/0.6185, allocations: 4.787 MB / 0.4965 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/0.6185, allocations: 68 kB / 0.4966 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6185, allocations: 0 / 0.4966 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.649e-05/0.6186, allocations: 40.59 kB / 0.4966 GB, free: 7.723 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.235/0.8536, allocations: 20.12 MB / 0.5163 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000139/0.8537, allocations: 89.25 kB / 0.5163 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/0.8573, allocations: 1.525 MB / 0.5178 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002841/0.8601, allocations: 0.8975 MB / 0.5187 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007349/0.8608, allocations: 349.3 kB / 0.519 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/0.8612, allocations: 237.1 kB / 0.5193 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/0.8638, allocations: 7.247 MB / 0.5263 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.962e-05/0.8638, allocations: 136.2 kB / 0.5265 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008043/0.8719, allocations: 8.976 MB / 0.5352 GB, free: 97.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/0.873, allocations: 249.4 kB / 0.5355 GB, free: 97.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/0.8757, allocations: 291.3 kB / 0.5357 GB, free: 97.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008796/0.8766, allocations: 0.752 MB / 0.5365 GB, free: 97.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004156/0.877, allocations: 257.3 kB / 0.5367 GB, free: 97.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001504/0.8785, allocations: 1.126 MB / 0.5378 GB, free: 97.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8785, allocations: 0.5469 kB / 0.5378 GB, free: 97.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008341/0.8869, allocations: 3.007 MB / 0.5408 GB, free: 97.43 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.002043/0.8889, allocations: 485.9 kB / 0.5412 GB, free: 97.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007651/0.8965, allocations: 4.485 MB / 0.5456 GB, free: 96.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004738/0.897, allocations: 141.4 kB / 0.5457 GB, free: 96.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003492/0.9005, allocations: 2.589 MB / 0.5483 GB, free: 95.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005765/0.9063, allocations: 1.753 MB / 0.55 GB, free: 95.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07512/0.9814, allocations: 22.3 MB / 0.5718 GB, free: 80.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/0.985, allocations: 2.604 MB / 0.5743 GB, free: 78.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003269/0.9883, allocations: 0.9554 MB / 0.5752 GB, free: 77.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/0.9907, allocations: 1.224 MB / 0.5764 GB, free: 76.56 MB / 458.7 MB Notification: Performance of SimCode: time 2.314e-06/0.9907, allocations: 0 / 0.5764 GB, free: 76.56 MB / 458.7 MB Notification: Performance of Templates: time 0.1077/1.098, allocations: 86.86 MB / 0.6613 GB, free: 11.2 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.526162858121097]