Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008302/0.0008302, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003662/0.003662, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8947/0.8947, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.256/0.256, allocations: 34.25 MB / 295.7 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.23e-05, allocations: 6.281 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.1716/0.1716, allocations: 6.595 MB / 450 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1738, allocations: 2.223 MB / 452.2 MB, free: 39.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/0.1741, allocations: 27.09 kB / 452.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.1754, allocations: 1.717 MB / 454 MB, free: 38.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007895/0.1762, allocations: 0.7132 MB / 454.7 MB, free: 38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.1769, allocations: 0.7192 MB / 455.4 MB, free: 37.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006133/0.1775, allocations: 1.291 MB / 456.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.1782, allocations: 0.8535 MB / 457.6 MB, free: 36.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/0.1786, allocations: 0.7489 MB / 458.3 MB, free: 36.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.1789, allocations: 0.5083 MB / 458.8 MB, free: 35.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.457e-05/0.179, allocations: 111.2 kB / 458.9 MB, free: 35.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.1793, allocations: 289.8 kB / 459.2 MB, free: 35.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.1794, allocations: 278 kB / 459.5 MB, free: 35.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1796, allocations: 425.1 kB / 459.9 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.1805, allocations: 1.631 MB / 461.5 MB, free: 34.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1805, allocations: 2.906 kB / 461.5 MB, free: 34.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1805, allocations: 0 / 461.5 MB, free: 34.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1805, allocations: 0 / 461.5 MB, free: 34.79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002009/0.1825, allocations: 1.744 MB / 463.3 MB, free: 33.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1825, allocations: 9.25 kB / 463.3 MB, free: 33.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/0.1866, allocations: 1.269 MB / 464.6 MB, free: 33.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.1871, allocations: 0.5119 MB / 465.1 MB, free: 33.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.1871, allocations: 100 kB / 465.2 MB, free: 33.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.1872, allocations: 134.5 kB / 465.3 MB, free: 33.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1884, allocations: 1.419 MB / 466.7 MB, free: 32.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.1885, allocations: 15.25 kB / 466.7 MB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.1885, allocations: 50 kB / 466.8 MB, free: 32.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1885, allocations: 36.22 kB / 466.8 MB, free: 32.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1898, allocations: 1.442 MB / 468.3 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.1933, allocations: 3.605 MB / 471.9 MB, free: 29.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009226/0.1943, allocations: 0.8159 MB / 472.7 MB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.1946, allocations: 331.4 kB / 473 MB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.1946, allocations: 34.45 kB / 473 MB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1947, allocations: 46.31 kB / 473.1 MB, free: 29.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 1.874e-06/0.1947, allocations: 0 / 473.1 MB, free: 29.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=90): time 0.001196/0.1959, allocations: 1.033 MB / 474.1 MB, free: 29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1959, allocations: 62.5 kB / 474.2 MB, free: 28.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.1962, allocations: 0.508 MB / 474.7 MB, free: 28.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.1962, allocations: 43.73 kB / 474.7 MB, free: 28.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1963, allocations: 0.5406 MB / 475.3 MB, free: 28.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.746e-05/0.1964, allocations: 322.4 kB / 475.6 MB, free: 27.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.1966, allocations: 207.2 kB / 475.8 MB, free: 27.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.1967, allocations: 366.9 kB / 476.1 MB, free: 27.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.197, allocations: 351.5 kB / 476.5 MB, free: 27.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.1974, allocations: 0.6207 MB / 477.1 MB, free: 26.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.1982, allocations: 1.001 MB / 478.1 MB, free: 26.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1982, allocations: 3 kB / 478.1 MB, free: 26.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00109/0.1993, allocations: 1.154 MB / 479.3 MB, free: 25.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1993, allocations: 13.44 kB / 479.3 MB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1993, allocations: 9 kB / 479.3 MB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.1995, allocations: 71.56 kB / 479.4 MB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.2, allocations: 265.4 kB / 479.6 MB, free: 25.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008267/0.2008, allocations: 2.562 MB / 482.2 MB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.2011, allocations: 114.8 kB / 482.3 MB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.2012, allocations: 55.3 kB / 482.3 MB, free: 23.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0001913/0.2014, allocations: 267.2 kB / 482.6 MB, free: 22.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.2014, allocations: 68.55 kB / 482.7 MB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.2025, allocations: 1.081 MB / 483.8 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2025, allocations: 13.03 kB / 483.8 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2025, allocations: 1.875 kB / 483.8 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.2025, allocations: 4.25 kB / 483.8 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.2045, allocations: 2.101 MB / 485.9 MB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2045, allocations: 9.531 kB / 485.9 MB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.2049, allocations: 181.4 kB / 486.1 MB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.205, allocations: 62.3 kB / 486.1 MB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.205, allocations: 27.97 kB / 486.1 MB, free: 21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007923/0.2058, allocations: 2.567 MB / 488.7 MB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.2058, allocations: 10.22 kB / 488.7 MB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.2072, allocations: 1.449 MB / 490.2 MB, free: 17.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.2072, allocations: 82.41 kB / 490.3 MB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.2073, allocations: 31.03 kB / 490.3 MB, free: 17.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.2076, allocations: 53.11 kB / 490.3 MB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.2077, allocations: 84.52 kB / 490.4 MB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.2077, allocations: 31.53 kB / 490.4 MB, free: 17.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002566/0.208, allocations: 355.7 kB / 490.8 MB, free: 17.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.208, allocations: 0 / 490.8 MB, free: 17.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006475/0.2086, allocations: 342.7 kB / 491.1 MB, free: 17.22 MB / 410.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 (93): * Single equations (assignments): 91 * 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.0002155/0.2088, allocations: 171.8 kB / 491.3 MB, free: 17.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.2099, allocations: 1.058 MB / 492.4 MB, free: 16.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2099, allocations: 1.156 kB / 492.4 MB, free: 16.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.2104, allocations: 0.5984 MB / 493 MB, free: 16.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.2111, allocations: 92.72 kB / 493 MB, free: 16.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.2133, allocations: 1.825 MB / 494.9 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.2136, allocations: 425.2 kB / 495.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.2138, allocations: 93.98 kB / 495.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2138, allocations: 1.781 kB / 495.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of Templates: time 0.01543/0.2292, allocations: 21.14 MB / 0.5044 GB, free: 6.277 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.496513324789703]