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.001495/0.001495, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001885/0.001885, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.2509/0.2509, allocations: 46.92 MB / 361.5 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002687/0.002687, allocations: 87.81 kB / 0.4975 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3741, allocations: 66.08 MB / 0.562 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003324/0.3774, allocations: 1.687 MB / 0.5636 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3784, allocations: 0.5693 MB / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.3785, allocations: 0 / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.3791, allocations: 467.1 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.3796, allocations: 291.3 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.3799, allocations: 126.6 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.3801, allocations: 175.6 kB / 0.5652 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3802, allocations: 15.98 kB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.3804, allocations: 119.7 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.3807, allocations: 247.5 kB / 0.5656 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3807, allocations: 4 kB / 0.5656 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.3808, allocations: 51.97 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3809, allocations: 83.69 kB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.381, allocations: 106.9 kB / 0.5658 GB, free: 320 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.3814, allocations: 281 kB / 0.5661 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3814, allocations: 0 / 0.5661 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3814, allocations: 0 / 0.5661 GB, free: 44 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3814, allocations: 0 / 0.5661 GB, free: 44 kB / 398.1 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.0008148/0.3822, allocations: 0.5894 MB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3822, allocations: 8.031 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.3823, allocations: 44.66 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.3826, allocations: 250.7 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.3826, allocations: 384 / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3826, allocations: 8.375 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3828, allocations: 62.17 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3828, allocations: 4.188 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3828, allocations: 7.875 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3828, allocations: 0 / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.637e-05/0.3829, allocations: 27.92 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.3834, allocations: 367.8 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.3835, allocations: 50.59 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.3836, allocations: 16.94 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.3836, allocations: 0 / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3837, allocations: 38.56 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3837, allocations: 0 / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009508/0.3846, allocations: 312.5 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3846, allocations: 51.41 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/0.3856, allocations: 0.8653 MB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3856, allocations: 25.7 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.3858, allocations: 224.1 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.3858, allocations: 27.75 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3859, allocations: 29.7 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3861, allocations: 358.7 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.3862, allocations: 27.98 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.3862, allocations: 27.95 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3864, allocations: 60.78 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3864, allocations: 0 / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002418/0.3866, allocations: 141.4 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3867, allocations: 6.031 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3867, allocations: 0 / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3867, allocations: 0 / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3868, allocations: 19.98 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3868, allocations: 0 / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.3868, allocations: 11.92 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3868, allocations: 4 kB / 0.5696 GB, free: 12.22 MB / 414.1 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 0.0002067/0.3871, allocations: 219 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.3871, allocations: 47.67 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.3874, allocations: 161.8 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3874, allocations: 0 / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3875, allocations: 0 / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3875, allocations: 12.28 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.3881, allocations: 486.2 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3881, allocations: 0 / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/0.3882, allocations: 23.92 kB / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3882, allocations: 3.938 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3882, allocations: 4 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3882, allocations: 4 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3882, allocations: 0 / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.3885, allocations: 248 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.3885, allocations: 31.72 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3886, allocations: 3.938 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.3886, allocations: 11.98 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3887, allocations: 7.938 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3887, allocations: 11.98 kB / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006613/0.3893, allocations: 0.6511 MB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3893, allocations: 0 / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3896, allocations: 28 kB / 0.5715 GB, free: 10.2 MB / 414.1 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.001689/0.3913, allocations: 453.3 kB / 0.5719 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3915, allocations: 63.95 kB / 0.572 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3915, allocations: 3.938 kB / 0.572 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.3916, allocations: 27.98 kB / 0.572 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.392, allocations: 26.3 kB / 0.572 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3932, allocations: 0.8753 MB / 0.5729 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.3937, allocations: 0.826 MB / 0.5737 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.3938, allocations: 15.44 kB / 0.5737 GB, free: 8.016 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3938, allocations: 0 / 0.5737 GB, free: 8.016 MB / 414.1 MB Notification: Performance of Templates: time 0.007431/0.4012, allocations: 3.96 MB / 0.5776 GB, free: 4.051 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.724930196069181]