Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0009707/0.0009707, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001027/0.001027, allocations: 165 kB / 24.56 MB, free: 4 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 0.9496/0.9496, allocations: 177.1 MB / 205 MB, free: 5.617 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.2587/0.2587, allocations: 32.81 MB / 294.3 MB, free: 1.207 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.579e-05, allocations: 10.25 kB / 376 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002252/0.002278, allocations: 1.707 MB / 377.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.003629, allocations: 1.313 MB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.00369, allocations: 3.938 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.003901, allocations: 19.86 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.004224, allocations: 87.55 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.004567, allocations: 179.4 kB / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.004722, allocations: 83.7 kB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.004816, allocations: 12 kB / 379.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.004879, allocations: 43.89 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.004978, allocations: 35.89 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.004995, allocations: 4 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.005149, allocations: 87.89 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.005207, allocations: 23.91 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.005237, allocations: 11.94 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.005466, allocations: 147.5 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00547, allocations: 0 / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00547, allocations: 0 / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005475, allocations: 0 / 379.8 MB, free: 0.8359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004324/0.005908, allocations: 440 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.005944, allocations: 12.03 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.005994, allocations: 8.891 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.006145, allocations: 148.4 kB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.006155, allocations: 384 / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.006177, allocations: 8.375 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.006329, allocations: 104 kB / 380.5 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.006341, allocations: 4.188 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.006351, allocations: 4.125 kB / 380.5 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.006358, allocations: 4 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.006394, allocations: 15.98 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.006742, allocations: 287.7 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.658e-05/0.006818, allocations: 43.05 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.006843, allocations: 15.62 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.00686, allocations: 0 / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.006882, allocations: 33.39 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.006884, allocations: 7.922 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004074/0.007292, allocations: 137.5 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.007328, allocations: 81.05 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.007442, allocations: 199.5 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.007458, allocations: 25.7 kB / 381.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.007508, allocations: 142.9 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.007533, allocations: 31.81 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.007567, allocations: 27.36 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003531/0.00792, allocations: 0.4884 MB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.007947, allocations: 7.984 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.007991, allocations: 57.08 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.008042, allocations: 31.84 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.008043, allocations: 8.031 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.62e-05/0.008139, allocations: 73.56 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.008153, allocations: 4 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.008157, allocations: 4 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.00817, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.008256, allocations: 15.98 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.008261, allocations: 0 / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.008288, allocations: 4 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.008296, allocations: 7.984 kB / 382.2 MB, free: 14.15 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 6.634e-05/0.008362, allocations: 164.5 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.008385, allocations: 11.95 kB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.008527, allocations: 82.38 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.00853, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.008533, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008535, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.008795, allocations: 341.4 kB / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.008796, allocations: 0 / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.008844, allocations: 23.98 kB / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008846, allocations: 3.938 kB / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.008853, allocations: 4 kB / 382.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.008855, allocations: 0 / 382.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008856, allocations: 0 / 382.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.008976, allocations: 223.8 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.008987, allocations: 11.94 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.009001, allocations: 0 / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.00904, allocations: 8 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.009073, allocations: 7.984 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.009077, allocations: 0 / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.009138, allocations: 153.5 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009138, allocations: 0 / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.009345, allocations: 47.88 kB / 383.3 MB, free: 13.01 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.0009889/0.01033, allocations: 487.8 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01047, allocations: 39.67 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01047, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.0105, allocations: 35.61 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.01071, allocations: 19.94 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.01109, allocations: 210.2 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.01113, allocations: 63.34 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.852e-05/0.01119, allocations: 32.98 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.01123, allocations: 16.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01123, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.004107/0.01534, allocations: 2.188 MB / 386.4 MB, free: 10.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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: 2.8972479249350727]