Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001378/0.001378, allocations: 110.4 kB / 21.23 MB, free: 0.5312 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.001738/0.001738, allocations: 214 kB / 24.54 MB, free: 3.922 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.447/1.447, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2712/0.2712, allocations: 46.94 MB / 361.4 MB, free: 4.379 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 79.86 kB / 0.4972 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3739, allocations: 66.05 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003211/0.3771, allocations: 1.672 MB / 0.5633 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.3792, allocations: 1.298 MB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.3793, allocations: 4 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.3795, allocations: 23.86 kB / 0.5646 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.3798, allocations: 83.61 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.3802, allocations: 179.1 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3804, allocations: 83.75 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3805, allocations: 15.92 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.3806, allocations: 27.86 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3807, allocations: 35.84 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3808, allocations: 8 kB / 0.565 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3809, allocations: 103.9 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.381, allocations: 23.92 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.3811, allocations: 31.8 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.3814, allocations: 149.9 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3814, allocations: 0 / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3814, allocations: 4 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3814, allocations: 0 / 0.5653 GB, free: 0.7773 MB / 398.1 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.0006179/0.382, allocations: 337.6 kB / 0.5656 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.382, allocations: 16.02 kB / 0.5657 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.3821, allocations: 8.891 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3823, allocations: 136.8 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3823, allocations: 4.375 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.3824, allocations: 4.375 kB / 0.5658 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.3826, allocations: 75.94 kB / 0.5659 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3826, allocations: 4.172 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3826, allocations: 11.81 kB / 0.5659 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3826, allocations: 4 kB / 0.5659 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.3828, allocations: 43.95 kB / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3833, allocations: 271.8 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.3835, allocations: 46.56 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.3836, allocations: 32.86 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3836, allocations: 4 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3836, allocations: 34.56 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3836, allocations: 0 / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008601/0.3845, allocations: 237.3 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.3846, allocations: 77.11 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3847, allocations: 153.5 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3848, allocations: 25.7 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.3848, allocations: 96.09 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3849, allocations: 27.78 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3849, allocations: 17.72 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3851, allocations: 326.8 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3852, allocations: 39.97 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3853, allocations: 53.67 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3856, allocations: 93.02 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3856, allocations: 4.031 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003039/0.3859, allocations: 129.5 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3859, allocations: 4 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3859, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3859, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.386, allocations: 19.98 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.386, allocations: 0 / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.3861, allocations: 15.98 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3861, allocations: 0 / 0.5676 GB, free: 14.27 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 (7): * Single equations (assignments): 7 * 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.0001192/0.3862, allocations: 129.8 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3863, allocations: 7.953 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.3866, allocations: 138.3 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3866, allocations: 0 / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3866, allocations: 4 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3866, allocations: 0 / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.3872, allocations: 393.3 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3872, allocations: 0 / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.3873, allocations: 19.98 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3873, allocations: 0 / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3873, allocations: 8 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3873, allocations: 3.938 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3873, allocations: 3.984 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.3877, allocations: 215.4 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.3877, allocations: 11.95 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3877, allocations: 0 / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.3878, allocations: 15.92 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3878, allocations: 11.92 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3879, allocations: 0 / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.974e-05/0.388, allocations: 113.3 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.3882, allocations: 47.86 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001762/0.39, allocations: 0.4936 MB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.3903, allocations: 87.94 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3903, allocations: 0 / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3905, allocations: 47.89 kB / 0.5693 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3908, allocations: 19.92 kB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.3913, allocations: 221.9 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3917, allocations: 0.7002 MB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.959e-05/0.3918, allocations: 24.94 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.3919, allocations: 19.42 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3919, allocations: 4 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005313/0.3972, allocations: 1.953 MB / 0.5721 GB, free: 9.621 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.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: 5.201260578818619]