Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001403/0.001403, allocations: 105.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.001481/0.001481, allocations: 213.7 kB / 24.49 MB, free: 4.152 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.467/1.467, allocations: 230.5 MB / 258.1 MB, free: 7.973 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.2442/0.2442, allocations: 46.92 MB / 361.5 MB, free: 4.164 MB / 286.1 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 79.88 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3763, allocations: 66.09 MB / 0.562 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003362/0.3796, allocations: 1.692 MB / 0.5636 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3808, allocations: 0.6083 MB / 0.5642 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.3809, allocations: 4 kB / 0.5642 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.3815, allocations: 451.1 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.382, allocations: 295.3 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.3825, allocations: 178.3 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3827, allocations: 183.6 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3828, allocations: 20.2 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.383, allocations: 119.7 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.3833, allocations: 259.4 kB / 0.5657 GB, free: 408 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3833, allocations: 4 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3834, allocations: 47.98 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3835, allocations: 83.69 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3837, allocations: 114.9 kB / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.384, allocations: 285.1 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.384, allocations: 4 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.384, allocations: 0 / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.384, allocations: 0 / 0.5662 GB, free: 15.87 MB / 414.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.0008166/0.3849, allocations: 0.597 MB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3849, allocations: 8.031 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.385, allocations: 48.64 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3853, allocations: 254.7 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.3853, allocations: 4.375 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3853, allocations: 384 / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3855, allocations: 78.16 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3855, allocations: 192 / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3855, allocations: 3.938 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3855, allocations: 4 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3857, allocations: 43.95 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.3863, allocations: 391.6 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.3865, allocations: 58.55 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.3866, allocations: 24.97 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3866, allocations: 4 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3866, allocations: 34.56 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 3.046e-06/0.3867, allocations: 4 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001552/0.3882, allocations: 0.4964 MB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.3883, allocations: 55.41 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/0.3892, allocations: 0.8613 MB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.3892, allocations: 29.7 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.3894, allocations: 216.1 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.3894, allocations: 39.69 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.3895, allocations: 25.7 kB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3897, allocations: 362.7 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3898, allocations: 55.95 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3899, allocations: 51.95 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3902, allocations: 128.8 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3902, allocations: 0 / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003809/0.3906, allocations: 209.5 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3906, allocations: 4 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3906, allocations: 3.938 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3906, allocations: 4 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3907, allocations: 23.98 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3907, allocations: 4 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.3908, allocations: 11.92 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3908, allocations: 4 kB / 0.5702 GB, free: 11.57 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 (11): * Single equations (assignments): 11 * 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.0002094/0.3911, allocations: 219.1 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.3911, allocations: 44.28 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.3916, allocations: 237.4 kB / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3916, allocations: 4 kB / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3916, allocations: 4 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3916, allocations: 3.938 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.3925, allocations: 0.5732 MB / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3925, allocations: 0 / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.3926, allocations: 35.91 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3926, allocations: 0 / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3926, allocations: 0 / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3926, allocations: 4 kB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3926, allocations: 0 / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.3931, allocations: 308.9 kB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.3931, allocations: 39.66 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3931, allocations: 4 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3932, allocations: 7.984 kB / 0.5716 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.3933, allocations: 15.98 kB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.3933, allocations: 4 kB / 0.5716 GB, free: 9.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006542/0.394, allocations: 0.6511 MB / 0.5723 GB, free: 9.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.394, allocations: 0 / 0.5723 GB, free: 9.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3942, allocations: 36 kB / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001725/0.396, allocations: 460.6 kB / 0.5728 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.3963, allocations: 123.8 kB / 0.5729 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3963, allocations: 0 / 0.5729 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3965, allocations: 67.89 kB / 0.5729 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3969, allocations: 34.22 kB / 0.573 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3983, allocations: 0.9196 MB / 0.5739 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.3988, allocations: 0.8379 MB / 0.5747 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.3988, allocations: 19.38 kB / 0.5747 GB, free: 6.949 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3988, allocations: 3.938 kB / 0.5747 GB, free: 6.945 MB / 414.1 MB Notification: Performance of Templates: time 0.007912/0.4067, allocations: 4.243 MB / 0.5789 GB, free: 2.699 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.705707689980045]