Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001545/0.001545, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001262/0.001262, allocations: 168.5 kB / 24.82 MB, free: 9.258 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 1/1, allocations: 177 MB / 205.1 MB, free: 5.473 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.2468/0.2468, allocations: 34.87 MB / 296.6 MB, free: 448 kB / 266.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.CombiTable2Ds.Test1,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 379.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.515e-05, allocations: 3.297 kB / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002841/0.002866, allocations: 1.701 MB / 381 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009866/0.003853, allocations: 0.5485 MB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.003931, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.004518, allocations: 451.1 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.004992, allocations: 299.1 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.005324, allocations: 131.6 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.005573, allocations: 167.7 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.005669, allocations: 15.98 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.005822, allocations: 123.7 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.006065, allocations: 243.6 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.006084, allocations: 7.938 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.006192, allocations: 47.92 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.006293, allocations: 87.7 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.006333, allocations: 39.73 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.006597, allocations: 211.1 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006599, allocations: 0 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.0066, allocations: 0 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.006605, allocations: 7.938 kB / 383.3 MB, free: 13.69 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.0006371/0.007242, allocations: 0.7009 MB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.007284, allocations: 12.03 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.007346, allocations: 44.66 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.007567, allocations: 252.8 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.00758, allocations: 4.359 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.0076, allocations: 4.375 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.00771, allocations: 66.88 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.00772, allocations: 192 / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.007728, allocations: 4.375 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.007734, allocations: 4.375 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.061e-05/0.007764, allocations: 15.92 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.008129, allocations: 348.1 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.008192, allocations: 39.05 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.008212, allocations: 15.77 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.008233, allocations: 0 / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.008256, allocations: 41.42 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.008257, allocations: 3.938 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000569/0.008826, allocations: 181.2 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.008852, allocations: 55.41 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.009197, allocations: 0.6001 MB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.009209, allocations: 29.7 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.009354, allocations: 306.6 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.009378, allocations: 23.75 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.009408, allocations: 27.36 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.00955, allocations: 0.5586 MB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.009563, allocations: 7.984 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.009576, allocations: 4 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.009612, allocations: 35.66 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009614, allocations: 15.88 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.036e-05/0.009704, allocations: 101.3 kB / 386.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.009715, allocations: 8 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.009719, allocations: 0 / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.009731, allocations: 0 / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.009786, allocations: 12 kB / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.009789, allocations: 0 / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.009815, allocations: 11.98 kB / 386.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.00982, allocations: 4 kB / 386.8 MB, free: 9.977 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 7.25e-05/0.009892, allocations: 164.5 kB / 387 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.009925, allocations: 47.72 kB / 387 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.01005, allocations: 113.8 kB / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.01005, allocations: 0 / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01005, allocations: 0 / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01006, allocations: 0 / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.01037, allocations: 429.9 kB / 387.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01037, allocations: 0 / 387.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.01041, allocations: 19.98 kB / 387.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.01041, allocations: 4.031 kB / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.01042, allocations: 0 / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01042, allocations: 7.938 kB / 387.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01042, allocations: 0 / 387.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.01055, allocations: 271.2 kB / 387.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.01057, allocations: 35.72 kB / 387.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.01059, allocations: 0 / 387.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.01062, allocations: 4 kB / 387.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.01065, allocations: 7.984 kB / 387.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.01065, allocations: 4 kB / 387.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002045/0.01086, allocations: 390.7 kB / 388.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01086, allocations: 4 kB / 388.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.01103, allocations: 31.94 kB / 388.3 MB, free: 8.395 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.000855/0.01188, allocations: 431.9 kB / 388.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.82e-05/0.01196, allocations: 39.66 kB / 388.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01196, allocations: 0 / 388.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.01199, allocations: 35.75 kB / 388.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01222, allocations: 33.72 kB / 388.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.01278, allocations: 0.594 MB / 389.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.01285, allocations: 119.2 kB / 389.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.01288, allocations: 4.734 kB / 389.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.01294, allocations: 90.19 kB / 389.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01294, allocations: 0 / 389.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of Templates: time 0.003879/0.01682, allocations: 1.756 MB / 391.4 MB, free: 5.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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: 3.072225507348776]