Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001387/0.001387, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001604/0.001604, allocations: 161.2 kB / 24.99 MB, free: 8.797 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.9746/0.9746, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2935/0.2935, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.296e-05, allocations: 6.25 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002124/0.002147, allocations: 1.728 MB / 377.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009241/0.003072, allocations: 0.5413 MB / 378.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.003124, allocations: 4 kB / 378.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.003342, allocations: 39.81 kB / 378.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.003576, allocations: 95.53 kB / 378.4 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.003796, allocations: 143.4 kB / 378.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.003933, allocations: 75.77 kB / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.004022, allocations: 20.2 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.00409, allocations: 43.84 kB / 378.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.004173, allocations: 39.94 kB / 378.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.004193, allocations: 4 kB / 378.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.978e-05/0.004272, allocations: 47.92 kB / 378.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.004337, allocations: 31.84 kB / 378.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.004361, allocations: 19.94 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.00452, allocations: 87.66 kB / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004522, allocations: 0 / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004523, allocations: 0 / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.004528, allocations: 4 kB / 378.9 MB, free: 2.027 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004018/0.00493, allocations: 436 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.004964, allocations: 8.031 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.005014, allocations: 20.84 kB / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.005162, allocations: 137 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.005176, allocations: 4.375 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.0052, allocations: 8.375 kB / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.005332, allocations: 74.62 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.005342, allocations: 0 / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.005353, allocations: 3.984 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005361, allocations: 4 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.005398, allocations: 8 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.005732, allocations: 303.6 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.005906, allocations: 50.98 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.005934, allocations: 19.67 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.005952, allocations: 4 kB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.005973, allocations: 33.48 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.041e-06/0.005974, allocations: 3.938 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005942/0.006568, allocations: 233.8 kB / 380.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.006598, allocations: 55.41 kB / 380.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.006718, allocations: 220.9 kB / 380.5 MB, free: 276 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.006728, allocations: 29.7 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.006781, allocations: 154.8 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.006808, allocations: 31.7 kB / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.006843, allocations: 35.36 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.006964, allocations: 0.4923 MB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.006995, allocations: 16 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.007021, allocations: 11.98 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.007095, allocations: 59.55 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007096, allocations: 0 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001074/0.007204, allocations: 85.59 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.007217, allocations: 4 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.007222, allocations: 4 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.007236, allocations: 0 / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.007301, allocations: 27.98 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.007307, allocations: 3.938 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.007332, allocations: 11.92 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.007339, allocations: 4 kB / 381.5 MB, free: 15.27 MB / 362.7 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 (11): * Single equations (assignments): 11 * 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 7.191e-05/0.007411, allocations: 164.5 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.007433, allocations: 7.953 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.007599, allocations: 110.9 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007601, allocations: 4 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.007605, allocations: 0 / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.007609, allocations: 3.938 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.007923, allocations: 408.6 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007925, allocations: 4 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.007974, allocations: 27.92 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.007977, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.007986, allocations: 3.938 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.007989, allocations: 4 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00799, allocations: 4.062 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.008134, allocations: 259.2 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.008145, allocations: 12.09 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.00816, allocations: 15.88 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.008202, allocations: 7.984 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.008238, allocations: 7.984 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.008246, allocations: 8 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.671e-05/0.008313, allocations: 161.5 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008313, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.008486, allocations: 23.94 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0009039/0.00939, allocations: 430.7 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.009516, allocations: 59.53 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009518, allocations: 0 / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.009561, allocations: 39.61 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.009784, allocations: 30.98 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.01018, allocations: 260.1 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.01022, allocations: 63.34 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.01026, allocations: 20.47 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.01029, allocations: 20.5 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01029, allocations: 0 / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003376/0.01367, allocations: 1.59 MB / 385.2 MB, free: 11.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3049894759897143]