Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001677/0.001677, 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.002019/0.002019, 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 46.93 MB / 361.6 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test31,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_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 71.89 kB / 0.4974 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3743, allocations: 66.03 MB / 0.5619 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003393/0.3777, allocations: 1.684 MB / 0.5635 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.3798, allocations: 1.294 MB / 0.5648 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.3799, allocations: 3.938 kB / 0.5648 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.3801, allocations: 23.84 kB / 0.5648 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.3804, allocations: 83.61 kB / 0.5649 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.3809, allocations: 183.2 kB / 0.5651 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3811, allocations: 79.77 kB / 0.5652 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3812, allocations: 11.98 kB / 0.5652 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.3813, allocations: 35.8 kB / 0.5652 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.3815, allocations: 43.83 kB / 0.5652 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3815, allocations: 4 kB / 0.5652 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3817, allocations: 95.94 kB / 0.5653 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.3818, allocations: 31.86 kB / 0.5654 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.3818, allocations: 27.8 kB / 0.5654 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.3821, allocations: 149.9 kB / 0.5655 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3821, allocations: 3.938 kB / 0.5655 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3821, allocations: 0 / 0.5655 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3821, allocations: 0 / 0.5655 GB, free: 0.6953 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.0005757/0.3827, allocations: 333.7 kB / 0.5659 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3827, allocations: 12.03 kB / 0.5659 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3828, allocations: 8.891 kB / 0.5659 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.383, allocations: 146.3 kB / 0.566 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.383, allocations: 4.375 kB / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.383, allocations: 384 / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.3832, allocations: 87.48 kB / 0.5661 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3832, allocations: 0 / 0.5661 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3833, allocations: 4 kB / 0.5661 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3833, allocations: 0 / 0.5661 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3834, allocations: 43.91 kB / 0.5662 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.3839, allocations: 279.8 kB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.384, allocations: 42.56 kB / 0.5665 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.3841, allocations: 28.88 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3841, allocations: 4 kB / 0.5665 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.3842, allocations: 34.55 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.3842, allocations: 4 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007957/0.385, allocations: 233.3 kB / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.385, allocations: 81.05 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.3852, allocations: 153.5 kB / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3852, allocations: 25.7 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.3853, allocations: 96.09 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3853, allocations: 27.78 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.3854, allocations: 21.72 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3855, allocations: 318.8 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3856, allocations: 39.97 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3858, allocations: 57.67 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.386, allocations: 80.8 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.386, allocations: 0 / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002795/0.3863, allocations: 141.5 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3863, allocations: 4 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3863, allocations: 0 / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3863, allocations: 4 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3864, allocations: 15.98 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3864, allocations: 320 / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.3865, allocations: 19.92 kB / 0.5678 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3865, allocations: 0 / 0.5678 GB, free: 14.19 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 9.662e-05/0.3866, allocations: 117.8 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.3866, allocations: 7.953 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.387, allocations: 146.2 kB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.387, allocations: 0 / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.387, allocations: 4 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.387, allocations: 7.938 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.3876, allocations: 385.5 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3876, allocations: 0 / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.3877, allocations: 19.92 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3877, allocations: 0 / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3877, allocations: 15.88 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3877, allocations: 4 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3877, allocations: 0 / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.388, allocations: 215.4 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.388, allocations: 11.94 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3881, allocations: 7.938 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.145e-05/0.3881, allocations: 15.98 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3882, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3882, allocations: 4 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.975e-05/0.3883, allocations: 117.4 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3883, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.3886, allocations: 39.86 kB / 0.5689 GB, free: 13 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.001772/0.3904, allocations: 0.5011 MB / 0.5694 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.3907, allocations: 87.92 kB / 0.5694 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3907, allocations: 0 / 0.5694 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3908, allocations: 51.89 kB / 0.5695 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3912, allocations: 16 kB / 0.5695 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.3918, allocations: 243.6 kB / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3921, allocations: 0.7002 MB / 0.5704 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.3922, allocations: 19.42 kB / 0.5704 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3922, allocations: 0 / 0.5704 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Templates: time 0.004487/0.3967, allocations: 2.195 MB / 0.5726 GB, free: 9.328 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.728520385921001]