Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001733/0.001733, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 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.002226/0.002226, allocations: 209.5 kB / 23.74 MB, free: 4.445 MB / 14.72 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.553/1.553, allocations: 207.7 MB / 234.6 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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.2382/0.2382, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 71.88 kB / 468.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1382, allocations: 61.04 MB / 0.5174 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007954/0.1461, allocations: 6.094 MB / 0.5233 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004545/0.1507, allocations: 2.105 MB / 0.5254 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005327/0.1512, allocations: 31.81 kB / 0.5254 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.1547, allocations: 1.415 MB / 0.5268 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.1569, allocations: 0.6759 MB / 0.5275 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.1585, allocations: 0.6892 MB / 0.5281 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1601, allocations: 1.186 MB / 0.5293 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.1613, allocations: 0.7569 MB / 0.53 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007477/0.1621, allocations: 0.4902 MB / 0.5305 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.1628, allocations: 0.5443 MB / 0.531 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.1629, allocations: 96 kB / 0.5311 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007264/0.1637, allocations: 275.8 kB / 0.5314 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1639, allocations: 258.9 kB / 0.5316 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000544/0.1644, allocations: 469.7 kB / 0.5321 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.1663, allocations: 1.49 MB / 0.5335 GB, free: 6.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1663, allocations: 0 / 0.5335 GB, free: 6.023 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1663, allocations: 0 / 0.5335 GB, free: 6.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.1664, allocations: 4 kB / 0.5335 GB, free: 6.02 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004343/0.1707, allocations: 1.667 MB / 0.5352 GB, free: 4.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1707, allocations: 12.03 kB / 0.5352 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009958/0.1807, allocations: 1.421 MB / 0.5366 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.1821, allocations: 0.4955 MB / 0.5371 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-05/0.1822, allocations: 94.48 kB / 0.5371 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.1824, allocations: 124 kB / 0.5373 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.1847, allocations: 1.357 MB / 0.5386 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.1848, allocations: 7.953 kB / 0.5386 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.1849, allocations: 55.98 kB / 0.5386 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.1849, allocations: 32 kB / 0.5387 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2908/0.4758, allocations: 1.413 MB / 0.5401 GB, free: 28.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007359/0.4831, allocations: 3.325 MB / 0.5433 GB, free: 27.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.485, allocations: 0.8247 MB / 0.5441 GB, free: 26.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.4856, allocations: 333.1 kB / 0.5444 GB, free: 26.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.4856, allocations: 18.44 kB / 0.5444 GB, free: 26.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4857, allocations: 47.69 kB / 0.5445 GB, free: 26.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.947e-06/0.4857, allocations: 0 / 0.5445 GB, free: 26.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002203/0.4879, allocations: 1.024 MB / 0.5455 GB, free: 26.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4879, allocations: 62.61 kB / 0.5456 GB, free: 26.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/0.4886, allocations: 0.5037 MB / 0.546 GB, free: 25.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.4886, allocations: 42.89 kB / 0.5461 GB, free: 25.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.4889, allocations: 0.5194 MB / 0.5466 GB, free: 25.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.4891, allocations: 325.8 kB / 0.5469 GB, free: 25.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.4894, allocations: 198.3 kB / 0.5471 GB, free: 25.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4895, allocations: 368 kB / 0.5474 GB, free: 24.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.4901, allocations: 343 kB / 0.5478 GB, free: 24.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/0.491, allocations: 0.6088 MB / 0.5484 GB, free: 24.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.4923, allocations: 0.9697 MB / 0.5493 GB, free: 23.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.4923, allocations: 1.469 kB / 0.5493 GB, free: 23.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001968/0.4943, allocations: 1.157 MB / 0.5504 GB, free: 23.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4943, allocations: 10.03 kB / 0.5505 GB, free: 23.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.4943, allocations: 9.75 kB / 0.5505 GB, free: 23.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/0.4946, allocations: 63.19 kB / 0.5505 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009826/0.4956, allocations: 264.4 kB / 0.5508 GB, free: 23.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.4973, allocations: 2.583 MB / 0.5533 GB, free: 20.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/0.498, allocations: 115.7 kB / 0.5534 GB, free: 20.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4981, allocations: 52.41 kB / 0.5535 GB, free: 20.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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.000366/0.4985, allocations: 253.7 kB / 0.5537 GB, free: 20.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.4986, allocations: 68.88 kB / 0.5538 GB, free: 20.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.5004, allocations: 1.082 MB / 0.5548 GB, free: 19.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.5004, allocations: 10.88 kB / 0.5548 GB, free: 19.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5004, allocations: 7.469 kB / 0.5548 GB, free: 19.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5004, allocations: 5.203 kB / 0.5548 GB, free: 19.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.5037, allocations: 2.042 MB / 0.5568 GB, free: 18.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5038, allocations: 6.047 kB / 0.5568 GB, free: 18.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007377/0.5045, allocations: 179.4 kB / 0.557 GB, free: 18.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000202/0.5047, allocations: 64.02 kB / 0.5571 GB, free: 18.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.5048, allocations: 29.27 kB / 0.5571 GB, free: 18.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.5062, allocations: 2.571 MB / 0.5596 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.5062, allocations: 7.125 kB / 0.5596 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.5083, allocations: 1.456 MB / 0.561 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.5085, allocations: 95.41 kB / 0.5611 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/0.5086, allocations: 24.78 kB / 0.5612 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/0.5091, allocations: 57.81 kB / 0.5612 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.5093, allocations: 86.8 kB / 0.5613 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.5094, allocations: 35.39 kB / 0.5613 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000445/0.5098, allocations: 348.3 kB / 0.5617 GB, free: 14.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5098, allocations: 0 / 0.5617 GB, free: 14.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001118/0.5109, allocations: 326.3 kB / 0.562 GB, free: 14.73 MB / 414.1 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 (94): * Single equations (assignments): 92 * 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.0002742/0.5112, allocations: 172 kB / 0.5621 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.5134, allocations: 1.043 MB / 0.5632 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.5134, allocations: 2.125 kB / 0.5632 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.5145, allocations: 0.5987 MB / 0.5637 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00078/0.5153, allocations: 88.97 kB / 0.5638 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.5189, allocations: 1.865 MB / 0.5656 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.5194, allocations: 411.9 kB / 0.566 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.5197, allocations: 83.25 kB / 0.5661 GB, free: 12.4 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5197, allocations: 1.094 kB / 0.5661 GB, free: 12.4 MB / 414.1 MB Notification: Performance of Templates: time 0.03203/0.5518, allocations: 19.68 MB / 0.5853 GB, free: 2.594 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.322372225113213]