Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001881/0.001881, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001968/0.001968, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.526/1.526, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.2426/0.2426, allocations: 46.95 MB / 361.6 MB, free: 3.902 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 83.86 kB / 0.4974 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3709, allocations: 66.08 MB / 0.5619 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003258/0.3742, allocations: 1.644 MB / 0.5635 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3753, allocations: 0.5265 MB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.3754, allocations: 0 / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.376, allocations: 463.1 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005212/0.3765, allocations: 295.3 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.3769, allocations: 127.2 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.3771, allocations: 171.6 kB / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3772, allocations: 11.98 kB / 0.5651 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3774, allocations: 107.8 kB / 0.5652 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.3776, allocations: 243.5 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3777, allocations: 4 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3778, allocations: 47.91 kB / 0.5655 GB, free: 312 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3779, allocations: 83.62 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.3779, allocations: 63.31 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.3783, allocations: 273 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3784, allocations: 0 / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3784, allocations: 0 / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3784, allocations: 0 / 0.5659 GB, free: 15.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008016/0.3792, allocations: 0.5737 MB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3792, allocations: 12.03 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.3793, allocations: 48.64 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3796, allocations: 238.8 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3796, allocations: 4.375 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.3796, allocations: 4.375 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3798, allocations: 54.23 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3798, allocations: 4.125 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3798, allocations: 3.938 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3798, allocations: 0 / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-05/0.3799, allocations: 27.92 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.3804, allocations: 328.4 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3806, allocations: 46.5 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.3807, allocations: 16.94 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3807, allocations: 0 / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3807, allocations: 38.5 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3807, allocations: 4 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006497/0.3814, allocations: 232.7 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3814, allocations: 59.41 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009783/0.3824, allocations: 0.8652 MB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3824, allocations: 25.7 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3826, allocations: 212 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.3826, allocations: 15.89 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3827, allocations: 13.72 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3829, allocations: 370.7 kB / 0.5689 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.3829, allocations: 15.98 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-05/0.383, allocations: 19.98 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3831, allocations: 44.84 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3831, allocations: 0 / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000231/0.3834, allocations: 129.5 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3834, allocations: 4 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3834, allocations: 4 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3834, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.3835, allocations: 15.98 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3835, allocations: 0 / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.3835, allocations: 8 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3835, allocations: 0 / 0.5692 GB, free: 12.32 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 (5): * Single equations (assignments): 5 * 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.0002091/0.3838, allocations: 217.7 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.3838, allocations: 43.72 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.3841, allocations: 129.1 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3841, allocations: 4 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3841, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3841, allocations: 3.984 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.3847, allocations: 402.1 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3847, allocations: 0 / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.3848, allocations: 11.98 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3848, allocations: 0 / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3848, allocations: 4 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3848, allocations: 3.938 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3848, allocations: 3.938 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3851, allocations: 219.2 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.3851, allocations: 31.72 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3851, allocations: 4 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.3852, allocations: 4.125 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3853, allocations: 11.98 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3853, allocations: 4 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007216/0.386, allocations: 0.6511 MB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.386, allocations: 0 / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3863, allocations: 31.92 kB / 0.5709 GB, free: 10.48 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 (5): * Single equations (assignments): 5 * 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.001666/0.3879, allocations: 425.6 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3881, allocations: 47.91 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3881, allocations: 0 / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.3882, allocations: 23.98 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3886, allocations: 28.42 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.39, allocations: 0.8352 MB / 0.5722 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3903, allocations: 224.1 kB / 0.5724 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3903, allocations: 15.42 kB / 0.5724 GB, free: 9.004 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3903, allocations: 0 / 0.5724 GB, free: 9.004 MB / 414.1 MB Notification: Performance of Templates: time 0.007898/0.3982, allocations: 3.844 MB / 0.5762 GB, free: 5.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 8.09349739504978]