Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001299/0.001299, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001288/0.001288, allocations: 172.3 kB / 24.91 MB, free: 8.766 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.9617/0.9617, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2321/0.2321, allocations: 32.8 MB / 294.6 MB, free: 1.23 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.369e-05, allocations: 7.188 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002664/0.002687, allocations: 1.745 MB / 325 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.003465, allocations: 0.584 MB / 325.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.003517, allocations: 0 / 325.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.003967, allocations: 455.1 kB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.004293, allocations: 295.1 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.004579, allocations: 179.4 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.004758, allocations: 179.6 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.004842, allocations: 16.84 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.004943, allocations: 123.8 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.005096, allocations: 195.6 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.005111, allocations: 8 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.005191, allocations: 55.91 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.005265, allocations: 83.66 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.0053, allocations: 39.73 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.005506, allocations: 223 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005508, allocations: 0 / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005509, allocations: 0 / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.005513, allocations: 0 / 327.4 MB, free: 5.453 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004112/0.005924, allocations: 0.5539 MB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.005952, allocations: 8.031 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.005987, allocations: 24.91 kB / 328 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006166, allocations: 254 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.006172, allocations: 384 / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.006189, allocations: 8.312 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.536e-05/0.006274, allocations: 58.94 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006282, allocations: 192 / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.006292, allocations: 12.12 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.006295, allocations: 0 / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.006318, allocations: 8 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.006567, allocations: 211 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.006612, allocations: 29.41 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.006626, allocations: 12.94 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.006643, allocations: 11.94 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.006663, allocations: 34.59 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006664, allocations: 0 / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004025/0.007066, allocations: 161.7 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.00709, allocations: 51.41 kB / 328.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.007392, allocations: 0.5244 MB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.007404, allocations: 29.7 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.007459, allocations: 153.2 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.007481, allocations: 23.78 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.007508, allocations: 17.72 kB / 329.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.007602, allocations: 366.6 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.007615, allocations: 4 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.007628, allocations: 8 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.007664, allocations: 31.64 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.007665, allocations: 3.938 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.423e-05/0.007739, allocations: 73.66 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.00775, allocations: 8 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007754, allocations: 96 / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.007765, allocations: 7.984 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.007821, allocations: 15.98 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.007824, allocations: 0 / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.007849, allocations: 7.953 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.007854, allocations: 0 / 330.1 MB, free: 2.605 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 (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 6.783e-05/0.007922, allocations: 124.5 kB / 330.2 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.007949, allocations: 23.97 kB / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.008071, allocations: 101.8 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.008074, allocations: 4 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.008076, allocations: 4 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.008079, allocations: 0 / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.00834, allocations: 311.3 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.008341, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.008378, allocations: 15.98 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.00838, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.008386, allocations: 4 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.008389, allocations: 7.938 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008391, allocations: 0 / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.008724, allocations: 180.3 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.008745, allocations: 35.7 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.008759, allocations: 4 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.008798, allocations: 4 kB / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.008821, allocations: 7.984 kB / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.008825, allocations: 0 / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.008992, allocations: 295.1 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008992, allocations: 0 / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.009138, allocations: 24 kB / 331.2 MB, free: 1.418 MB / 298.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.001212/0.01035, allocations: 0.5769 MB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.639e-05/0.01043, allocations: 32.84 kB / 331.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.01044, allocations: 12 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.01046, allocations: 28.78 kB / 331.9 MB, free: 1.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.01064, allocations: 25.95 kB / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.01121, allocations: 0.6035 MB / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.01128, allocations: 119.2 kB / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.872e-05/0.01132, allocations: 20.7 kB / 332.7 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.01137, allocations: 59.38 kB / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01137, allocations: 4 kB / 332.7 MB, free: 192 kB / 298.7 MB Notification: Performance of Templates: time 0.004038/0.01541, allocations: 1.756 MB / 334.5 MB, free: 14.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.823442897759378]