Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 85.81 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 161.9 kB / 24.82 MB, free: 8.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9216/0.9216, allocations: 177 MB / 205.1 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1614/0.1614, allocations: 34.88 MB / 296.6 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 379.2 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.617e-05, allocations: 3.297 kB / 379.2 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001875/0.001891, allocations: 1.651 MB / 380.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006548/0.002546, allocations: 0.5446 MB / 381.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.002617, allocations: 0 / 381.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.002855, allocations: 79.69 kB / 381.5 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.003093, allocations: 103.5 kB / 381.6 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.003317, allocations: 115.6 kB / 381.7 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.003446, allocations: 87.77 kB / 381.8 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.003573, allocations: 15.97 kB / 381.8 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.003645, allocations: 43.91 kB / 381.9 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.00374, allocations: 51.86 kB / 381.9 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.003756, allocations: 4 kB / 381.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.00383, allocations: 47.86 kB / 382 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.003882, allocations: 27.91 kB / 382 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.003906, allocations: 11.94 kB / 382 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.004062, allocations: 95.59 kB / 382.1 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.004064, allocations: 8 kB / 382.1 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004065, allocations: 0 / 382.1 MB, free: 19.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.00407, allocations: 0 / 382.1 MB, free: 19.84 MB / 314.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.0003873/0.004457, allocations: 439.9 kB / 382.5 MB, free: 19.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.004495, allocations: 8.031 kB / 382.6 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.004528, allocations: 16.84 kB / 382.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.004624, allocations: 146.5 kB / 382.7 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.004632, allocations: 4.375 kB / 382.7 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.004648, allocations: 4.359 kB / 382.7 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.809e-05/0.004726, allocations: 58.94 kB / 382.8 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.004735, allocations: 4.188 kB / 382.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.004741, allocations: 4.375 kB / 382.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.004748, allocations: 4.359 kB / 382.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.004769, allocations: 7.938 kB / 382.8 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.004969, allocations: 272.3 kB / 383.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.335e-05/0.005012, allocations: 39.05 kB / 383.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.005026, allocations: 15.69 kB / 383.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.005045, allocations: 4.078 kB / 383.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.005059, allocations: 33.39 kB / 383.2 MB, free: 18.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.00506, allocations: 0 / 383.2 MB, free: 18.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003667/0.005427, allocations: 169.2 kB / 383.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.005443, allocations: 51.41 kB / 383.4 MB, free: 18.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.005521, allocations: 234.8 kB / 383.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-06/0.005526, allocations: 25.7 kB / 383.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.00556, allocations: 158.8 kB / 383.8 MB, free: 18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.00558, allocations: 31.72 kB / 383.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.005606, allocations: 27.38 kB / 383.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.005654, allocations: 0.5001 MB / 384.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.005667, allocations: 7.984 kB / 384.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.005679, allocations: 12 kB / 384.4 MB, free: 17.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.005709, allocations: 27.67 kB / 384.4 MB, free: 17.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.00571, allocations: 0 / 384.4 MB, free: 17.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.167e-05/0.005772, allocations: 81.5 kB / 384.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.005781, allocations: 4 kB / 384.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005785, allocations: 0 / 384.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005796, allocations: 0 / 384.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.005848, allocations: 16.41 kB / 384.5 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.00585, allocations: 0 / 384.5 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.005866, allocations: 4 kB / 384.5 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.00587, allocations: 8 kB / 384.5 MB, free: 17.25 MB / 314.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 4.693e-05/0.005917, allocations: 156.6 kB / 384.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.005935, allocations: 19.84 kB / 384.7 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.544e-05/0.006031, allocations: 95.36 kB / 384.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006033, allocations: 3.984 kB / 384.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.006035, allocations: 0 / 384.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.006037, allocations: 0 / 384.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.006232, allocations: 349.6 kB / 385.1 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006233, allocations: 0 / 385.1 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.006262, allocations: 12 kB / 385.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006264, allocations: 4.031 kB / 385.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.006269, allocations: 4 kB / 385.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.00627, allocations: 0 / 385.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006271, allocations: 0 / 385.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.035e-05/0.006342, allocations: 247.4 kB / 385.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.00635, allocations: 15.84 kB / 385.4 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006359, allocations: 0 / 385.4 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.006391, allocations: 8 kB / 385.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.006413, allocations: 3.984 kB / 385.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.006416, allocations: 4 kB / 385.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.602e-05/0.006452, allocations: 167.1 kB / 385.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006452, allocations: 0 / 385.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000149/0.006601, allocations: 23.92 kB / 385.6 MB, free: 16.08 MB / 314.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.000863/0.007464, allocations: 425.4 kB / 386 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.454e-05/0.007549, allocations: 39.67 kB / 386 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.00755, allocations: 0 / 386 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.007573, allocations: 31.75 kB / 386.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.007776, allocations: 28.06 kB / 386.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.008057, allocations: 231.8 kB / 386.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.763e-05/0.008084, allocations: 75.19 kB / 386.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.008114, allocations: 12.72 kB / 386.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.008156, allocations: 78.2 kB / 386.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008157, allocations: 0 / 386.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.002694/0.01085, allocations: 1.55 MB / 388 MB, free: 13.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.8586327540688217]