Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001474/0.001474, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001618/0.001618, allocations: 157.7 kB / 24.26 MB, free: 172 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.498/1.498, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3483/0.3483, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 377.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.133e-05, allocations: 2.312 kB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.005197/0.005229, allocations: 1.665 MB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.006822, allocations: 0.5336 MB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.006895, allocations: 0 / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000853/0.007748, allocations: 459 kB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000747/0.008495, allocations: 291.2 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.009036, allocations: 131.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.00942, allocations: 175.6 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.009541, allocations: 19.98 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.009774, allocations: 115.8 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.01017, allocations: 247.6 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.0102, allocations: 4 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.01037, allocations: 51.86 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.01052, allocations: 87.7 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.0106, allocations: 35.75 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.01108, allocations: 255 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01109, allocations: 0 / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.01109, allocations: 4 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.0111, allocations: 0 / 381.4 MB, free: 14.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009842/0.01208, allocations: 0.5814 MB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.01213, allocations: 12.03 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.01224, allocations: 48.59 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.01261, allocations: 242 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.01262, allocations: 384 / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.01265, allocations: 8.375 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.01285, allocations: 58.23 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01286, allocations: 192 / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.01287, allocations: 12.06 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.01288, allocations: 0 / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.01301, allocations: 31.92 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.01363, allocations: 332.4 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.01378, allocations: 50.53 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.01385, allocations: 16.94 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.01388, allocations: 4 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.01392, allocations: 30.56 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.01392, allocations: 0 / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001277/0.01519, allocations: 312.9 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.01525, allocations: 55.41 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.0166, allocations: 0.8652 MB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.01663, allocations: 25.7 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.01689, allocations: 220 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.01694, allocations: 27.81 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.017, allocations: 17.72 kB / 384.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002728/0.01727, allocations: 366.7 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.01738, allocations: 23.98 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.01749, allocations: 27.98 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01771, allocations: 60.83 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01772, allocations: 0 / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003537/0.01807, allocations: 141.4 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.01809, allocations: 8 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.0181, allocations: 4 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.01812, allocations: 3.938 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.01825, allocations: 20.03 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01826, allocations: 0 / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.01835, allocations: 7.984 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.01836, allocations: 0 / 384.9 MB, free: 11.11 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 (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.0002837/0.01865, allocations: 217.7 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.01875, allocations: 51.72 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.01918, allocations: 161.4 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01919, allocations: 0 / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.01919, allocations: 4 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.0192, allocations: 0 / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.02023, allocations: 454.7 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.02023, allocations: 4.031 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.02033, allocations: 16 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.02034, allocations: 3.984 kB / 385.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.02036, allocations: 8 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.02036, allocations: 480 / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.02036, allocations: 3.938 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.0208, allocations: 240 kB / 386.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.02088, allocations: 35.72 kB / 386.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.02091, allocations: 0 / 386.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.02105, allocations: 12 kB / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.0211, allocations: 11.92 kB / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.02111, allocations: 0 / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001032/0.02214, allocations: 0.6511 MB / 386.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02214, allocations: 4 kB / 386.8 MB, free: 9.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.02256, allocations: 24 kB / 386.8 MB, free: 9.152 MB / 362.7 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.002691/0.02525, allocations: 498 kB / 387.3 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.02559, allocations: 71.88 kB / 387.4 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.02559, allocations: 0 / 387.4 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.02573, allocations: 35.92 kB / 387.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.0264, allocations: 30.02 kB / 387.4 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.02834, allocations: 0.8354 MB / 388.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.02874, allocations: 224 kB / 388.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.762e-05/0.02882, allocations: 17.02 kB / 388.5 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.02889, allocations: 20.5 kB / 388.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02889, allocations: 0 / 388.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of Templates: time 0.007683/0.03657, allocations: 1.602 MB / 390.1 MB, free: 6.023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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: 4.812437920947559]