Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001918/0.001918, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001684/0.001684, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.568/1.568, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] 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.2361/0.2361, allocations: 34.29 MB / 295 MB, free: 14.59 MB / 286.1 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.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.165e-05, allocations: 2.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003338/0.00337, allocations: 1.623 MB / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004559, allocations: 0.5259 MB / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.004623, allocations: 0 / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.004989, allocations: 127.6 kB / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.005362, allocations: 127.5 kB / 445.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.00564, allocations: 99.5 kB / 445.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.00584, allocations: 99.72 kB / 445.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.005951, allocations: 8 kB / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.006125, allocations: 59.86 kB / 445.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.006277, allocations: 91.77 kB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.006297, allocations: 4 kB / 445.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.006402, allocations: 47.91 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.006474, allocations: 27.92 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.006516, allocations: 19.88 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.006754, allocations: 107.6 kB / 445.7 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.006759, allocations: 3.984 kB / 445.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00676, allocations: 4 kB / 445.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006765, allocations: 0 / 445.7 MB, free: 2.426 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000709/0.007474, allocations: 365.3 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.007515, allocations: 12.03 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.007567, allocations: 16.84 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.007792, allocations: 149.3 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.007807, allocations: 4.375 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.007834, allocations: 4.375 kB / 446.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.008004, allocations: 58.22 kB / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.008021, allocations: 192 / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.008034, allocations: 4.125 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.008039, allocations: 0 / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.008149, allocations: 27.97 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.008584, allocations: 248.4 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.008706, allocations: 38.56 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.008763, allocations: 20.88 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.008787, allocations: 4 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.008834, allocations: 34.56 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.008836, allocations: 0 / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001017/0.009852, allocations: 229.2 kB / 446.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.00991, allocations: 59.34 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.01023, allocations: 271.9 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.01025, allocations: 25.7 kB / 447.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01036, allocations: 124.1 kB / 447.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.01039, allocations: 27.75 kB / 447.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.01043, allocations: 21.66 kB / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.01063, allocations: 338.8 kB / 447.7 MB, free: 224 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.01072, allocations: 23.98 kB / 447.7 MB, free: 200 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.01082, allocations: 23.98 kB / 447.7 MB, free: 176 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.011, allocations: 60.83 kB / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.011, allocations: 0 / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.2003/0.2113, allocations: 109.4 kB / 447.9 MB, free: 19.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.2113, allocations: 4.375 kB / 447.9 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2113, allocations: 0.7188 kB / 447.9 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.2114, allocations: 2.5 kB / 447.9 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.2115, allocations: 15.3 kB / 447.9 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2115, allocations: 3.922 kB / 447.9 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.2116, allocations: 8.984 kB / 447.9 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2116, allocations: 7.078 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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 prepare postOptimizeDAE: time 0.0001065/0.2117, allocations: 141.5 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.2118, allocations: 17.75 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.2121, allocations: 117.2 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2121, allocations: 1.734 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2121, allocations: 2.562 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2121, allocations: 1.734 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.2125, allocations: 359.2 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2125, allocations: 0 / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.2126, allocations: 24.3 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2126, allocations: 1.062 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.2126, allocations: 1.75 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2126, allocations: 1.938 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2126, allocations: 1.344 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.2129, allocations: 209.3 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.2129, allocations: 13.39 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2129, allocations: 4.281 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.213, allocations: 5.359 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.213, allocations: 6.062 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.213, allocations: 10.45 kB / 448.9 MB, free: 18.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2132, allocations: 206.9 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2132, allocations: 0 / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.2134, allocations: 28.75 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.00178/0.2152, allocations: 493.2 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.2155, allocations: 65.14 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2155, allocations: 0 / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.2155, allocations: 33.58 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.2159, allocations: 16.39 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.2164, allocations: 309.9 kB / 450 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.2165, allocations: 108.4 kB / 450.1 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.572e-05/0.2165, allocations: 21.38 kB / 450.1 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.2165, allocations: 17.73 kB / 450.1 MB, free: 18.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2165, allocations: 1.094 kB / 450.1 MB, free: 18.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004541/0.2211, allocations: 1.386 MB / 451.5 MB, free: 17.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.031517717987299]