Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001791/0.001791, allocations: 83.91 kB / 20.68 MB, free: 1.035 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.002567/0.002567, allocations: 163.9 kB / 23.96 MB, free: 4.16 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.556/1.556, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.2231/0.2231, allocations: 34.27 MB / 294.9 MB, free: 14.58 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.633e-05, allocations: 2.281 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003139/0.003165, allocations: 1.603 MB / 444.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.005218, allocations: 1.239 MB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.005299, allocations: 0 / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.005552, allocations: 23.78 kB / 445.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.005984, allocations: 87.5 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.006338, allocations: 94.81 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.006515, allocations: 71.7 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.006625, allocations: 11.98 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.006712, allocations: 31.92 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.006852, allocations: 31.89 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.006876, allocations: 4 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.00709, allocations: 95.81 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.007144, allocations: 7.938 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.007184, allocations: 15.98 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.007513, allocations: 135.5 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.00752, allocations: 11.98 kB / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007521, allocations: 0 / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.007525, allocations: 3.938 kB / 446.1 MB, free: 1.918 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005676/0.008093, allocations: 317.7 kB / 446.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.008133, allocations: 12.03 kB / 446.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.008188, allocations: 8.891 kB / 446.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.008425, allocations: 145.5 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.008435, allocations: 384 / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.008457, allocations: 4.375 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.008642, allocations: 85.67 kB / 446.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.008657, allocations: 4.141 kB / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.008681, allocations: 12.06 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.008686, allocations: 0 / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.865e-05/0.008785, allocations: 19.97 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.009138, allocations: 220.6 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.009359, allocations: 38.56 kB / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.009418, allocations: 24.88 kB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.009442, allocations: 3.938 kB / 447 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.009473, allocations: 30.56 kB / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.009474, allocations: 0 / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006526/0.01013, allocations: 141.7 kB / 447.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.0102, allocations: 85.11 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.01038, allocations: 148.5 kB / 447.4 MB, free: 500 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.0104, allocations: 25.7 kB / 447.4 MB, free: 468 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.01048, allocations: 96.08 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.0105, allocations: 11.86 kB / 447.6 MB, free: 356 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.01055, allocations: 21.7 kB / 447.6 MB, free: 328 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.01071, allocations: 318.8 kB / 447.9 MB, free: 0 / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1979/0.2086, allocations: 14.06 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.2087, allocations: 62.12 kB / 448 MB, free: 19.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2089, allocations: 50.02 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2089, allocations: 3.75 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002394/0.2091, allocations: 82.19 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2091, allocations: 5.312 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2091, allocations: 1.094 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2091, allocations: 1.312 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.2092, allocations: 14.66 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2092, allocations: 0 / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.2093, allocations: 6.703 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2093, allocations: 5.125 kB / 448.1 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 (5): * Single equations (assignments): 5 * 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 8.427e-05/0.2094, allocations: 123.3 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.2094, allocations: 8.891 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.2097, allocations: 87.47 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2097, allocations: 1.969 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2097, allocations: 1.078 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.2097, allocations: 0 / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.2101, allocations: 296.4 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2101, allocations: 3.047 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.2102, allocations: 17.08 kB / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2102, allocations: 1.25 kB / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.2102, allocations: 1.906 kB / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2102, allocations: 0 / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2102, allocations: 0 / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.2104, allocations: 183.1 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.2104, allocations: 6.812 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.2104, allocations: 1.156 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.888e-05/0.2105, allocations: 14.92 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.2106, allocations: 7.531 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2106, allocations: 1 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.216e-05/0.2106, allocations: 113.6 kB / 449 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2106, allocations: 5.094 kB / 449 MB, free: 18.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003311/0.211, allocations: 38.3 kB / 449 MB, free: 18.46 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.001894/0.2129, allocations: 0.5295 MB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2131, allocations: 45.05 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2131, allocations: 0 / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.2132, allocations: 30.69 kB / 449.6 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.0003341/0.2135, allocations: 16.95 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.214, allocations: 174 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.61e-05/0.214, allocations: 77.42 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.2141, allocations: 9.797 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.2141, allocations: 17.44 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2141, allocations: 0 / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of Templates: time 0.005626/0.2198, allocations: 1.819 MB / 451.7 MB, free: 17.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.211745701730251]