Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008091/0.0008091, 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.003169/0.003169, allocations: 160.2 kB / 24.7 MB, free: 9.426 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.897/0.897, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2722/0.2722, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 3.938 kB / 440.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.127e-05, allocations: 6.219 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.1714/0.1714, allocations: 6.131 MB / 447 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.1746, allocations: 2.135 MB / 449.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.1752, allocations: 25.78 kB / 449.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.1769, allocations: 1.489 MB / 450.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1782, allocations: 0.6852 MB / 451.3 MB, free: 41.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.1791, allocations: 0.6842 MB / 452 MB, free: 40.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1802, allocations: 1.199 MB / 453.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.1813, allocations: 0.7577 MB / 454 MB, free: 39.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008623/0.1822, allocations: 0.6908 MB / 454.6 MB, free: 39.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.1826, allocations: 467.2 kB / 455.1 MB, free: 39.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.1828, allocations: 97.98 kB / 455.2 MB, free: 39.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.1832, allocations: 271 kB / 455.5 MB, free: 39.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.1833, allocations: 253.5 kB / 455.7 MB, free: 39.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1835, allocations: 390.1 kB / 456.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1846, allocations: 1.48 MB / 457.6 MB, free: 38.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1846, allocations: 0 / 457.6 MB, free: 38.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1846, allocations: 7.469 kB / 457.6 MB, free: 38.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1846, allocations: 0 / 457.6 MB, free: 38.32 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002069/0.1866, allocations: 1.622 MB / 459.2 MB, free: 37.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1867, allocations: 9.969 kB / 459.2 MB, free: 37.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/0.1908, allocations: 1.262 MB / 460.5 MB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/0.1915, allocations: 483.6 kB / 460.9 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.1916, allocations: 88.25 kB / 461 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.1917, allocations: 129.9 kB / 461.2 MB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1929, allocations: 1.339 MB / 462.5 MB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.1929, allocations: 0 / 462.5 MB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.193, allocations: 52.75 kB / 462.6 MB, free: 36.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.193, allocations: 28.25 kB / 462.6 MB, free: 36.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1943, allocations: 1.359 MB / 463.9 MB, free: 35.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.1978, allocations: 3.31 MB / 467.2 MB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.1988, allocations: 0.7936 MB / 468 MB, free: 33.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.1991, allocations: 325.9 kB / 468.4 MB, free: 33.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-05/0.1991, allocations: 30.97 kB / 468.4 MB, free: 33.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1992, allocations: 46.31 kB / 468.4 MB, free: 33.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/0.1992, allocations: 0 / 468.4 MB, free: 33.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.001237/0.2004, allocations: 1.031 MB / 469.5 MB, free: 32.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.2004, allocations: 61.91 kB / 469.5 MB, free: 32.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.2007, allocations: 497.1 kB / 470 MB, free: 32.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.2008, allocations: 40.67 kB / 470.1 MB, free: 32.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.2009, allocations: 0.489 MB / 470.5 MB, free: 32.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.201, allocations: 318.8 kB / 470.9 MB, free: 31.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.2012, allocations: 187.3 kB / 471 MB, free: 31.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.2012, allocations: 376.5 kB / 471.4 MB, free: 31.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.2016, allocations: 338.4 kB / 471.7 MB, free: 31.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.202, allocations: 0.5654 MB / 472.3 MB, free: 30.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007747/0.2028, allocations: 0.9283 MB / 473.2 MB, free: 30.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.2028, allocations: 3.219 kB / 473.2 MB, free: 30.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001114/0.2039, allocations: 1.111 MB / 474.3 MB, free: 29.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2039, allocations: 8.969 kB / 474.3 MB, free: 29.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2039, allocations: 10.67 kB / 474.4 MB, free: 29.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.2041, allocations: 64.91 kB / 474.4 MB, free: 29.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.2046, allocations: 247.9 kB / 474.7 MB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009808/0.2056, allocations: 2.584 MB / 477.2 MB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.206, allocations: 110 kB / 477.4 MB, free: 27.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.206, allocations: 44.67 kB / 477.4 MB, free: 27.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0002776/0.2063, allocations: 249.6 kB / 477.6 MB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.2064, allocations: 65.39 kB / 477.7 MB, free: 26.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.2074, allocations: 1.073 MB / 478.8 MB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2074, allocations: 11.81 kB / 478.8 MB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2074, allocations: 0 / 478.8 MB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2074, allocations: 14.83 kB / 478.8 MB, free: 26.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.2093, allocations: 2.06 MB / 480.9 MB, free: 25.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2093, allocations: 6.25 kB / 480.9 MB, free: 25.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.2097, allocations: 177.1 kB / 481 MB, free: 25.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.2098, allocations: 65.17 kB / 481.1 MB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.2098, allocations: 25.78 kB / 481.1 MB, free: 25.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000792/0.2106, allocations: 2.568 MB / 483.7 MB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2106, allocations: 14.28 kB / 483.7 MB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2119, allocations: 1.431 MB / 485.1 MB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.212, allocations: 75.52 kB / 485.2 MB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.212, allocations: 31 kB / 485.3 MB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.2123, allocations: 52.05 kB / 485.3 MB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.2124, allocations: 86.38 kB / 485.4 MB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.2125, allocations: 34.56 kB / 485.4 MB, free: 21.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.2127, allocations: 341.6 kB / 485.8 MB, free: 21.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2127, allocations: 0 / 485.8 MB, free: 21.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007343/0.2135, allocations: 320.6 kB / 486.1 MB, free: 21.36 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 (92): * Single equations (assignments): 90 * 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.0002552/0.2137, allocations: 173.9 kB / 486.2 MB, free: 21.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.2149, allocations: 1.024 MB / 487.3 MB, free: 20.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2149, allocations: 5.969 kB / 487.3 MB, free: 20.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.2155, allocations: 0.5997 MB / 487.9 MB, free: 20.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.2159, allocations: 89.23 kB / 488 MB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.2179, allocations: 1.731 MB / 489.7 MB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.2182, allocations: 399.9 kB / 490.1 MB, free: 19.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.2184, allocations: 89.67 kB / 490.2 MB, free: 19.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2184, allocations: 0 / 490.2 MB, free: 19.1 MB / 410.7 MB Notification: Performance of Templates: time 0.01986/0.2383, allocations: 19.81 MB / 0.498 GB, free: 13.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.920363537967205]