Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001351/0.001351, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001638/0.001638, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.621/1.621, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2432/0.2432, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.91 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.372, allocations: 66.04 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003673/0.3756, allocations: 1.66 MB / 0.5627 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3768, allocations: 0.531 MB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.3768, allocations: 7.938 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007628/0.3776, allocations: 459.1 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005869/0.3782, allocations: 295.3 kB / 0.564 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.3786, allocations: 127.5 kB / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.3788, allocations: 175.6 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.379, allocations: 11.98 kB / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3791, allocations: 119.7 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.3794, allocations: 251.5 kB / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3794, allocations: 4 kB / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3795, allocations: 51.92 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3797, allocations: 83.69 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.3797, allocations: 67.25 kB / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.3801, allocations: 288.9 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3801, allocations: 0 / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3801, allocations: 0 / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3801, allocations: 4 kB / 0.5651 GB, free: 44 kB / 398.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.0008541/0.381, allocations: 0.5816 MB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.381, allocations: 8.031 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.3811, allocations: 44.66 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3814, allocations: 242.7 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3814, allocations: 4.375 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.3814, allocations: 8.359 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3816, allocations: 57.8 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3816, allocations: 4 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3816, allocations: 4 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3816, allocations: 4 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3818, allocations: 31.91 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3823, allocations: 336.3 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3824, allocations: 46.59 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.3824, allocations: 16.94 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3825, allocations: 4 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3825, allocations: 30.56 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3825, allocations: 0 / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001048/0.3835, allocations: 312.5 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3836, allocations: 55.41 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009081/0.3845, allocations: 0.8651 MB / 0.5677 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3845, allocations: 29.7 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.3847, allocations: 216 kB / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3847, allocations: 31.8 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.3848, allocations: 17.72 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.385, allocations: 366.8 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.3851, allocations: 23.92 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.3852, allocations: 27.97 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3853, allocations: 69.05 kB / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3853, allocations: 0 / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002473/0.3856, allocations: 133.4 kB / 0.5686 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3856, allocations: 4 kB / 0.5686 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3856, allocations: 4 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3856, allocations: 0 / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3857, allocations: 19.92 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3857, allocations: 3.938 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.3858, allocations: 8 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3858, allocations: 4 kB / 0.5686 GB, free: 12.29 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 (8): * Single equations (assignments): 8 * 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.0002558/0.3861, allocations: 213.8 kB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.3861, allocations: 51.67 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.3865, allocations: 153.4 kB / 0.569 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.3865, allocations: 8 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3865, allocations: 3.938 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3865, allocations: 0 / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.3871, allocations: 442.8 kB / 0.5694 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3871, allocations: 4.031 kB / 0.5694 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.3872, allocations: 23.98 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3872, allocations: 4.359 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3872, allocations: 4 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3872, allocations: 0 / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3872, allocations: 0 / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.3875, allocations: 240 kB / 0.5697 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.3876, allocations: 47.64 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3876, allocations: 11.88 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.3877, allocations: 8 kB / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3877, allocations: 7.984 kB / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3877, allocations: 0 / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006462/0.3884, allocations: 0.6511 MB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3884, allocations: 0 / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00044/0.3888, allocations: 27.98 kB / 0.5704 GB, free: 10.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001879/0.3907, allocations: 0.4899 MB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.3909, allocations: 59.91 kB / 0.571 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3909, allocations: 4 kB / 0.571 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.391, allocations: 31.97 kB / 0.571 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3914, allocations: 21.97 kB / 0.571 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.3927, allocations: 0.8346 MB / 0.5718 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.393, allocations: 224.1 kB / 0.572 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.393, allocations: 12.61 kB / 0.5721 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.393, allocations: 15.42 kB / 0.5721 GB, free: 8.797 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.393, allocations: 8 kB / 0.5721 GB, free: 8.789 MB / 414.1 MB Notification: Performance of Templates: time 0.006626/0.3997, allocations: 1.9 MB / 0.5739 GB, free: 6.906 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.522000810131431]