Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.00122/0.00122, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00155/0.00155, allocations: 172.2 kB / 24.82 MB, free: 8.883 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 1.177/1.177, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.3876/0.3876, allocations: 34.27 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.66e-05/3.927e-05, allocations: 2.312 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003753/0.003793, allocations: 1.692 MB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.005473, allocations: 1.282 MB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.005567, allocations: 4 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.005818, allocations: 27.72 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.006287, allocations: 83.5 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.006696, allocations: 135.6 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.006893, allocations: 71.84 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.007026, allocations: 15.97 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.007117, allocations: 27.92 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.00725, allocations: 35.89 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.007268, allocations: 4 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.007496, allocations: 99.69 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.007582, allocations: 19.98 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.007613, allocations: 19.92 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.00789, allocations: 139.5 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.007896, allocations: 0 / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.007898, allocations: 0 / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.007904, allocations: 0 / 382.2 MB, free: 14.68 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.0004605/0.008364, allocations: 435.9 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.008417, allocations: 12.03 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.008471, allocations: 12.89 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.008645, allocations: 146.5 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.008656, allocations: 4.375 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.008681, allocations: 4.375 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.008857, allocations: 111.9 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.008869, allocations: 192 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.008881, allocations: 4.125 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.008888, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.008914, allocations: 8 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.009229, allocations: 256.5 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.313e-05/0.009302, allocations: 42.94 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.009326, allocations: 23.77 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.009355, allocations: 3.984 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.009393, allocations: 37.33 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.009394, allocations: 4 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003911/0.009785, allocations: 113.5 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.009824, allocations: 77.11 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.009946, allocations: 193.9 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.00996, allocations: 25.7 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.01002, allocations: 146.8 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.01005, allocations: 23.8 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.01009, allocations: 31.36 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01023, allocations: 0.4923 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.01025, allocations: 4 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.01029, allocations: 57 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.01035, allocations: 27.67 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.01035, allocations: 0 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.496e-05/0.01044, allocations: 65.58 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01046, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01046, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.01048, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.01056, allocations: 23.95 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01057, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.0106, allocations: 11.98 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.0106, allocations: 0 / 384.5 MB, free: 12.08 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 9.369e-05/0.0107, allocations: 160.5 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.01072, allocations: 11.89 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.01086, allocations: 74.45 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01086, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01086, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01087, allocations: 4 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.01116, allocations: 322.3 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.01116, allocations: 4 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.01122, allocations: 16 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.01123, allocations: 3.938 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01124, allocations: 3.984 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01124, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.01124, allocations: 80 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.01141, allocations: 223.7 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.01143, allocations: 8.234 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01145, allocations: 4 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.841e-05/0.01149, allocations: 11.98 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.01154, allocations: 11.97 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.01155, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.81e-05/0.01163, allocations: 149.2 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01163, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.01188, allocations: 39.86 kB / 385.6 MB, free: 10.98 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.001172/0.01305, allocations: 481.2 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.01318, allocations: 43.59 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.01319, allocations: 7.938 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.01322, allocations: 19.67 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.01348, allocations: 34.8 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.0139, allocations: 194.3 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.01395, allocations: 67.28 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.635e-05/0.01401, allocations: 11.98 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-05/0.01409, allocations: 86.19 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/0.0141, allocations: 0 / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.005149/0.01924, allocations: 2.191 MB / 388.7 MB, free: 8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.685254930984229]