Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.001249/0.001249, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001406/0.001406, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2938/0.2938, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 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.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.414e-05, allocations: 5.688 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003257/0.003291, allocations: 1.708 MB / 379.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.00521, allocations: 1.289 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.005259, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.005493, allocations: 27.78 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.005889, allocations: 87.55 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.006225, allocations: 127.6 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.006395, allocations: 75.77 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.006497, allocations: 11.98 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.006581, allocations: 39.84 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.006705, allocations: 27.91 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.006726, allocations: 4 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.00691, allocations: 99.81 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.006984, allocations: 23.91 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.007019, allocations: 15.94 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.007292, allocations: 139.5 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.007296, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.007297, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.007302, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 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.0005324/0.007835, allocations: 436 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.007881, allocations: 12.03 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.007939, allocations: 8.891 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.008136, allocations: 144.4 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.008149, allocations: 4.375 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.008173, allocations: 384 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.008379, allocations: 108 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.008392, allocations: 192 / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.008407, allocations: 8.125 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.008418, allocations: 4 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.008468, allocations: 11.97 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.008854, allocations: 279.7 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.008964, allocations: 47.05 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.008998, allocations: 15.62 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.009019, allocations: 0 / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.009049, allocations: 37.39 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.00905, allocations: 7.938 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005315/0.009581, allocations: 125.5 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.009629, allocations: 77.11 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.009794, allocations: 197.8 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.009812, allocations: 29.7 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.009878, allocations: 142.8 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.009905, allocations: 23.86 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.009952, allocations: 31.36 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.0101, allocations: 492.1 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/0.01014, allocations: 15.98 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.0102, allocations: 57.2 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.01027, allocations: 39.61 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.01027, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000145/0.01041, allocations: 61.64 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01043, allocations: 7.938 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.01044, allocations: 8 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01045, allocations: 4.031 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01058, allocations: 19.98 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01059, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.01064, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.01065, allocations: 4 kB / 384.1 MB, free: 12.3 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 (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 prepare postOptimizeDAE: time 8.677e-05/0.01073, allocations: 164.5 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.01078, allocations: 15.91 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.01097, allocations: 82.33 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01097, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01097, allocations: 4 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01098, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.01139, allocations: 341.7 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01139, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.01147, allocations: 15.98 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01148, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01149, allocations: 4 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01149, allocations: 3.938 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.01149, allocations: 3.984 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.01167, allocations: 228.1 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.01169, allocations: 7.953 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.01171, allocations: 7.984 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.01179, allocations: 8 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.01184, allocations: 3.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.01184, allocations: 4 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.531e-05/0.01193, allocations: 145.2 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01193, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.01227, allocations: 47.86 kB / 385.2 MB, free: 11.15 MB / 362.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 0.00116/0.01343, allocations: 480.4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01355, allocations: 43.66 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01355, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.01358, allocations: 35.81 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.01383, allocations: 27.8 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.01422, allocations: 194.4 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.01426, allocations: 67.28 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.0143, allocations: 4 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.01434, allocations: 20.48 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01434, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.004131/0.01847, allocations: 2.169 MB / 388.2 MB, free: 8.266 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.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.2440531477332115]