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.0007661/0.0007661, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001837, 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.000701/0.000701, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009512/0.001652, 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.8908/0.8908, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1737/1.064, allocations: 49.49 MB / 220.7 MB, free: 1.371 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.1391/0.1391, allocations: 32.36 MB / 253.8 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02504/0.1642, allocations: 12.32 MB / 266.1 MB, free: 3.879 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.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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.783e-05, allocations: 10.19 kB / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005373/0.00539, allocations: 6.671 MB / 274.1 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.00871, allocations: 2.24 MB / 276.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.009032, allocations: 23.94 kB / 276.3 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.01069, allocations: 1.613 MB / 277.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01171, allocations: 0.695 MB / 278.6 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.01259, allocations: 0.6967 MB / 279.3 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009156/0.01351, allocations: 1.225 MB / 280.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008389/0.01435, allocations: 0.7416 MB / 281.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.01508, allocations: 0.7318 MB / 282 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.01556, allocations: 494.6 kB / 282.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.01567, allocations: 99.94 kB / 282.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.0162, allocations: 287.6 kB / 282.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.01632, allocations: 179.4 kB / 283.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.01657, allocations: 323.3 kB / 283.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009109/0.01748, allocations: 0.9337 MB / 284.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-05/0.0175, allocations: 4 kB / 284.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0175, allocations: 0 / 284.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.01752, allocations: 0 / 284.3 MB, free: 1.531 MB / 282.7 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.1535/0.1711, allocations: 2.003 MB / 286.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1711, allocations: 9.969 kB / 286.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005758/0.1769, allocations: 1.969 MB / 288.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007291/0.1776, allocations: 335.4 kB / 288.6 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.1776, allocations: 92.3 kB / 288.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.1778, allocations: 128.6 kB / 288.8 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1789, allocations: 0.9562 MB / 289.8 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.1789, allocations: 2.562 kB / 289.8 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.179, allocations: 51.06 kB / 289.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.179, allocations: 33.33 kB / 289.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.1798, allocations: 0.5921 MB / 290.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.1836, allocations: 2.758 MB / 293.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/0.1843, allocations: 0.622 MB / 293.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.1845, allocations: 148.6 kB / 294 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.1846, allocations: 35.75 kB / 294 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1846, allocations: 51.44 kB / 294.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of pre-optimization done (n=91): time 2.505e-06/0.1846, allocations: 0 / 294.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.0007867/0.1854, allocations: 489.7 kB / 294.6 MB, free: 4.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.1854, allocations: 61.94 kB / 294.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1857, allocations: 424.3 kB / 295 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1857, allocations: 41.58 kB / 295.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1859, allocations: 495.5 kB / 295.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.186, allocations: 333.1 kB / 295.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.1862, allocations: 192.3 kB / 296.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.1863, allocations: 377.3 kB / 296.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1864, allocations: 109.8 kB / 296.6 MB, free: 3.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.1866, allocations: 401.6 kB / 297 MB, free: 3.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.1871, allocations: 0.6258 MB / 297.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.1871, allocations: 6.062 kB / 297.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0007531/0.1879, allocations: 0.5972 MB / 298.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1879, allocations: 9.312 kB / 298.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1879, allocations: 11.78 kB / 298.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.1881, allocations: 73.88 kB / 298.3 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.1887, allocations: 304.9 kB / 298.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008835/0.1896, allocations: 2.365 MB / 300.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.1899, allocations: 119.5 kB / 301.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.19, allocations: 36.31 kB / 301.1 MB, free: 0.6992 MB / 282.7 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.0001475/0.1901, allocations: 177.6 kB / 301.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.1902, allocations: 69.77 kB / 301.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.1908, allocations: 0.7004 MB / 302 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1908, allocations: 10.06 kB / 302 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1908, allocations: 3.469 kB / 302 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1908, allocations: 10.97 kB / 302.1 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1919, allocations: 1.204 MB / 303.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1919, allocations: 5.203 kB / 303.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.1923, allocations: 217.1 kB / 303.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.1924, allocations: 81.78 kB / 303.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.1925, allocations: 61.61 kB / 303.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.1925, allocations: 32.67 kB / 303.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.1936, allocations: 2.354 MB / 306 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1936, allocations: 11.44 kB / 306 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.1943, allocations: 0.8001 MB / 306.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.1944, allocations: 27.41 kB / 306.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.1946, allocations: 52.89 kB / 306.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.1947, allocations: 82.95 kB / 307 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.1947, allocations: 27.03 kB / 307 MB, free: 13.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1948, allocations: 173.1 kB / 307.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1948, allocations: 0 / 307.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.1953, allocations: 326.2 kB / 307.5 MB, free: 13.17 MB / 298.7 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.0002031/0.1955, allocations: 169.4 kB / 307.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006213/0.1962, allocations: 0.7337 MB / 308.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.68e-05/0.1962, allocations: 19 kB / 308.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.1966, allocations: 0.5305 MB / 308.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.1972, allocations: 0.5934 MB / 309.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008082/0.2053, allocations: 1.839 MB / 311.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.2057, allocations: 179.2 kB / 311.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.206, allocations: 128.8 kB / 311.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.2063, allocations: 174.3 kB / 311.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2063, allocations: 0 / 311.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of Templates: time 0.01246/0.2187, allocations: 9.597 MB / 321.4 MB, free: 368 kB / 298.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/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: 3.0272860191762447]