Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005189/0.005189, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8991/0.8991, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2528/0.2528, allocations: 34.25 MB / 295.6 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.172e-05, allocations: 2.281 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.188/0.188, allocations: 1.846 MB / 445.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000767/0.1888, allocations: 0.5602 MB / 445.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.1888, allocations: 0 / 445.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.904e-05/0.1889, allocations: 13.5 kB / 445.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1891, allocations: 44.41 kB / 445.9 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1893, allocations: 85.91 kB / 446 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1895, allocations: 158.7 kB / 446.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1896, allocations: 21.59 kB / 446.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.1898, allocations: 110.4 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.1899, allocations: 50.16 kB / 446.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1899, allocations: 14.94 kB / 446.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.19, allocations: 19.92 kB / 446.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.19, allocations: 30.64 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.19, allocations: 41.34 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1902, allocations: 148 kB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1902, allocations: 0 / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1902, allocations: 0 / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1902, allocations: 0 / 446.5 MB, free: 43.19 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005419/0.1908, allocations: 379.7 kB / 446.9 MB, free: 42.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1908, allocations: 8.906 kB / 446.9 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.191, allocations: 42.16 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1911, allocations: 136.8 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1911, allocations: 11.59 kB / 447.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1911, allocations: 9.656 kB / 447.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1914, allocations: 183.9 kB / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1914, allocations: 192 / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1914, allocations: 6.375 kB / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1914, allocations: 7.281 kB / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1916, allocations: 96.47 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.1921, allocations: 363 kB / 447.8 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1922, allocations: 94.17 kB / 447.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.1923, allocations: 38.19 kB / 447.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1923, allocations: 0 / 447.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.1923, allocations: 34.53 kB / 447.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1923, allocations: 4 kB / 447.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007809/0.1931, allocations: 317.7 kB / 448.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.1931, allocations: 106.8 kB / 448.3 MB, free: 42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.1932, allocations: 149 kB / 448.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1932, allocations: 32.3 kB / 448.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.1933, allocations: 113.2 kB / 448.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.1933, allocations: 29.8 kB / 448.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.1933, allocations: 24.91 kB / 448.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.097e-05/0.1934, allocations: 320.8 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1935, allocations: 57.52 kB / 449 MB, free: 41.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1936, allocations: 155.5 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1938, allocations: 130.6 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1938, allocations: 4.031 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002459/0.194, allocations: 170.9 kB / 449.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1941, allocations: 5.906 kB / 449.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1941, allocations: 4.062 kB / 449.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1941, allocations: 0 / 449.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.1944, allocations: 93.27 kB / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007203/0.1951, allocations: 1.369 MB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.1952, allocations: 27.56 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1952, allocations: 2.875 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.1953, allocations: 118.7 kB / 451.1 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.1953, allocations: 13.7 kB / 451.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1955, allocations: 175 kB / 451.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.1955, allocations: 4.125 kB / 451.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1955, allocations: 2.688 kB / 451.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1955, allocations: 3.938 kB / 451.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.1959, allocations: 393.5 kB / 451.7 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1959, allocations: 2.906 kB / 451.7 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.196, allocations: 30.67 kB / 451.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.196, allocations: 0 / 451.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.196, allocations: 0 / 451.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.196, allocations: 0 / 451.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.196, allocations: 1.641 kB / 451.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1962, allocations: 256.1 kB / 452 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.1962, allocations: 14.09 kB / 452 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1962, allocations: 0 / 452 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.1963, allocations: 25.03 kB / 452 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.1964, allocations: 5.969 kB / 452 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1964, allocations: 2.812 kB / 452 MB, free: 39.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.1964, allocations: 121.1 kB / 452.1 MB, free: 39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1964, allocations: 4 kB / 452.1 MB, free: 39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.1966, allocations: 28.53 kB / 452.2 MB, free: 39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.265e-05/0.1967, allocations: 97.41 kB / 452.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.1971, allocations: 164.2 kB / 452.4 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1971, allocations: 0 / 452.4 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1972, allocations: 64.19 kB / 452.5 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.1975, allocations: 14.78 kB / 452.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.1983, allocations: 397.5 kB / 452.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.417e-05/0.1983, allocations: 93.62 kB / 453 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.1984, allocations: 14.22 kB / 453 MB, free: 38.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1984, allocations: 0 / 453 MB, free: 38.57 MB / 410.7 MB Notification: Performance of Templates: time 0.0027/0.2011, allocations: 1.899 MB / 454.9 MB, free: 38.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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: 4.6609298614785075]