Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0008964/0.0008964, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009844/0.0009844, allocations: 173.6 kB / 24.91 MB, free: 8.762 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.9603/0.9603, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2601/0.2601, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.907e-05, allocations: 2.969 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002399/0.002418, allocations: 1.698 MB / 324.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003521, allocations: 0.5723 MB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.003584, allocations: 0 / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.004065, allocations: 455.1 kB / 325.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.004496, allocations: 299.1 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.004876, allocations: 175.5 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.005142, allocations: 187.5 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.005238, allocations: 12.61 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.005356, allocations: 119.8 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.005538, allocations: 199.6 kB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.005555, allocations: 8 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.177e-05/0.005637, allocations: 35.91 kB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.005732, allocations: 83.72 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.005773, allocations: 35.75 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.006001, allocations: 215 kB / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006004, allocations: 0 / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.006005, allocations: 0 / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.006011, allocations: 0 / 327.3 MB, free: 5.617 MB / 298.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.00049/0.006501, allocations: 0.5462 MB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.00654, allocations: 8.031 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.006584, allocations: 32.92 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.006779, allocations: 242 kB / 328.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.00679, allocations: 12.36 kB / 328.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.006813, allocations: 384 / 328.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.006922, allocations: 70.84 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.006932, allocations: 192 / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.006943, allocations: 12.06 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006949, allocations: 0 / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.006977, allocations: 8 kB / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.007261, allocations: 207 kB / 328.4 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.007334, allocations: 34.5 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.007355, allocations: 8.859 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.007378, allocations: 11.98 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.007402, allocations: 34.5 kB / 328.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.007403, allocations: 0 / 328.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000341/0.007744, allocations: 121.7 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.007774, allocations: 59.39 kB / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.008087, allocations: 0.5283 MB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.008098, allocations: 25.7 kB / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.008155, allocations: 141.3 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.008178, allocations: 31.77 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.008205, allocations: 17.72 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.008306, allocations: 358.7 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.008319, allocations: 8 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.008333, allocations: 4 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.008372, allocations: 35.59 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.008372, allocations: 0 / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.782e-05/0.00844, allocations: 69.59 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.008452, allocations: 8 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.008455, allocations: 4 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.008465, allocations: 0 / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.008526, allocations: 15.98 kB / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.008529, allocations: 0 / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.008558, allocations: 7.984 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.008564, allocations: 4 kB / 329.9 MB, free: 2.816 MB / 298.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.518e-05/0.008629, allocations: 116.6 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.008654, allocations: 27.91 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.008772, allocations: 93.88 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.008773, allocations: 4 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008775, allocations: 4 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008778, allocations: 0 / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.009014, allocations: 294.5 kB / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.009015, allocations: 0 / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.009052, allocations: 15.98 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.009054, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.00906, allocations: 4 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.009061, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009063, allocations: 4 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.316e-05/0.009156, allocations: 171.4 kB / 330.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.009182, allocations: 43.7 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.009197, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.009238, allocations: 8 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.009264, allocations: 7.984 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.009268, allocations: 0 / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.009446, allocations: 283.2 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009446, allocations: 0 / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.009592, allocations: 31.92 kB / 331 MB, free: 1.668 MB / 298.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.001143/0.01073, allocations: 0.502 MB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.01081, allocations: 24.86 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.01081, allocations: 4 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.01083, allocations: 24.78 kB / 331.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.01103, allocations: 41.42 kB / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.01161, allocations: 0.5829 MB / 332.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.83e-05/0.01169, allocations: 123.2 kB / 332.3 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.01173, allocations: 21.02 kB / 332.3 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.01178, allocations: 59.38 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of SimCode: time 3.967e-06/0.01179, allocations: 0 / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of Templates: time 0.003683/0.01547, allocations: 1.587 MB / 334 MB, free: 14.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.9607242369093]