Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.92 MB / 359.6 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 71.89 kB / 0.4943 GB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3758, allocations: 65.46 MB / 0.5583 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00337/0.3791, allocations: 1.724 MB / 0.56 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3803, allocations: 0.6205 MB / 0.5606 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.3804, allocations: 0 / 0.5606 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.3806, allocations: 23.8 kB / 0.5606 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.3809, allocations: 83.61 kB / 0.5607 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3813, allocations: 190.9 kB / 0.5608 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3815, allocations: 99.7 kB / 0.5609 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.3816, allocations: 15.97 kB / 0.561 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.3817, allocations: 35.86 kB / 0.561 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.3818, allocations: 47.77 kB / 0.561 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3818, allocations: 8 kB / 0.561 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.382, allocations: 103.9 kB / 0.5611 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.382, allocations: 23.92 kB / 0.5612 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.3821, allocations: 43.67 kB / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.3824, allocations: 165.8 kB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3824, allocations: 0 / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3824, allocations: 0 / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3824, allocations: 0 / 0.5614 GB, free: 4.504 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.0006818/0.3831, allocations: 369.5 kB / 0.5617 GB, free: 4.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3831, allocations: 8.031 kB / 0.5617 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.3832, allocations: 16.84 kB / 0.5617 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3834, allocations: 152.5 kB / 0.5619 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3834, allocations: 384 / 0.5619 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.3834, allocations: 7.938 kB / 0.5619 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.3837, allocations: 91.36 kB / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3837, allocations: 0 / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3837, allocations: 0 / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3838, allocations: 11.98 kB / 0.562 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.3841, allocations: 71.92 kB / 0.5621 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.3847, allocations: 307.8 kB / 0.5624 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.3849, allocations: 74.53 kB / 0.5624 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.3851, allocations: 48.94 kB / 0.5625 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.3851, allocations: 4.062 kB / 0.5625 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3852, allocations: 38.56 kB / 0.5625 GB, free: 3.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3852, allocations: 3.938 kB / 0.5625 GB, free: 3.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001662/0.3868, allocations: 405 kB / 0.5629 GB, free: 2.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.3869, allocations: 81.05 kB / 0.563 GB, free: 2.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3871, allocations: 167.8 kB / 0.5631 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3871, allocations: 33.64 kB / 0.5632 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.3872, allocations: 100.1 kB / 0.5633 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.3872, allocations: 31.73 kB / 0.5633 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.3873, allocations: 21.72 kB / 0.5633 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3874, allocations: 322.8 kB / 0.5636 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.3877, allocations: 79.91 kB / 0.5637 GB, free: 1.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.388, allocations: 97.58 kB / 0.5638 GB, free: 1.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.3886, allocations: 164.7 kB / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3886, allocations: 4 kB / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006534/0.3893, allocations: 217.4 kB / 0.5642 GB, free: 1.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3893, allocations: 4 kB / 0.5642 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.3893, allocations: 3.984 kB / 0.5642 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3893, allocations: 0 / 0.5642 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3895, allocations: 47.83 kB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3895, allocations: 0 / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3897, allocations: 27.95 kB / 0.5642 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3897, allocations: 4 kB / 0.5642 GB, free: 1.344 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001203/0.3898, allocations: 125.8 kB / 0.5644 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.3899, allocations: 7.953 kB / 0.5644 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007094/0.3906, allocations: 222.4 kB / 0.5646 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3906, allocations: 3.938 kB / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3906, allocations: 3.938 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3906, allocations: 4 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3916, allocations: 0.4899 MB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3916, allocations: 0 / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3918, allocations: 39.97 kB / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3918, allocations: 0 / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3918, allocations: 7.984 kB / 0.5651 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3918, allocations: 0 / 0.5651 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3918, allocations: 4 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.3925, allocations: 299.2 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.3925, allocations: 11.95 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3925, allocations: 4 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3927, allocations: 23.95 kB / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.3928, allocations: 11.98 kB / 0.5655 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.3928, allocations: 0 / 0.5655 GB, free: 16 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3929, allocations: 119.3 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3929, allocations: 0 / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.3933, allocations: 55.86 kB / 0.5656 GB, free: 15.84 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 (9): * Single equations (assignments): 9 * 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.001791/0.395, allocations: 0.4951 MB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006613/0.3957, allocations: 175.8 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3957, allocations: 0 / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.396, allocations: 83.92 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3964, allocations: 32.42 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.3969, allocations: 272.3 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3973, allocations: 0.7002 MB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-05/0.3973, allocations: 23.42 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3973, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Templates: time 0.005172/0.4025, allocations: 2.629 MB / 0.5699 GB, free: 11.58 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.946101064095274]