Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001676/0.001676, 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.001942/0.001942, allocations: 207.7 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2296/0.2296, allocations: 44.94 MB / 358.8 MB, free: 6.09 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [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.002214/0.002214, allocations: 70.41 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3774, allocations: 65.47 MB / 0.5575 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003311/0.3807, allocations: 1.642 MB / 0.5591 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3818, allocations: 0.5232 MB / 0.5596 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.3818, allocations: 7.938 kB / 0.5596 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.3824, allocations: 455.1 kB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.3829, allocations: 291.3 kB / 0.5603 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.3832, allocations: 139.4 kB / 0.5604 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3835, allocations: 167.6 kB / 0.5606 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3836, allocations: 15.98 kB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3837, allocations: 111.7 kB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.384, allocations: 243.5 kB / 0.561 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.384, allocations: 4 kB / 0.561 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3841, allocations: 39.98 kB / 0.561 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3843, allocations: 79.69 kB / 0.5611 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.3844, allocations: 71.23 kB / 0.5611 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.3848, allocations: 269 kB / 0.5614 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3848, allocations: 0 / 0.5614 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3848, allocations: 0 / 0.5614 GB, free: 3.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3848, allocations: 0 / 0.5614 GB, free: 3.48 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.0008386/0.3856, allocations: 0.5776 MB / 0.562 GB, free: 2.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3857, allocations: 12.03 kB / 0.562 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.3857, allocations: 40.66 kB / 0.562 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3861, allocations: 242.8 kB / 0.5622 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3861, allocations: 12.31 kB / 0.5623 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3861, allocations: 4.375 kB / 0.5623 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3863, allocations: 61.72 kB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3863, allocations: 0 / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3863, allocations: 4 kB / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3863, allocations: 0 / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3864, allocations: 23.98 kB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.3869, allocations: 328.3 kB / 0.5627 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3871, allocations: 50.5 kB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.3872, allocations: 12.86 kB / 0.5627 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3872, allocations: 4.078 kB / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3872, allocations: 30.56 kB / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.3872, allocations: 0 / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006061/0.3879, allocations: 228.7 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3879, allocations: 55.41 kB / 0.563 GB, free: 1.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009379/0.3888, allocations: 0.8652 MB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3889, allocations: 29.7 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.3891, allocations: 212 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3892, allocations: 7.906 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.3892, allocations: 21.7 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.3894, allocations: 366.7 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.3895, allocations: 15.98 kB / 0.5645 GB, free: 144 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.3895, allocations: 19.92 kB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3897, allocations: 56.77 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3897, allocations: 0 / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002454/0.3899, allocations: 117.5 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3899, allocations: 6.812 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3899, allocations: 3.984 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.39, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.39, allocations: 16 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.39, allocations: 0 / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.3901, allocations: 11.98 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3901, allocations: 0 / 0.5647 GB, free: 15.9 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.0002121/0.3903, allocations: 213.5 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.3904, allocations: 47.72 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.3907, allocations: 133.4 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3907, allocations: 12.22 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3907, allocations: 0 / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3907, allocations: 3.984 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.3913, allocations: 414.1 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3913, allocations: 0 / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.3914, allocations: 11.98 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3914, allocations: 0 / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.3914, allocations: 0 / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3914, allocations: 4 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3914, allocations: 3.938 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3917, allocations: 207.2 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.3917, allocations: 39.7 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3917, allocations: 0 / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.3918, allocations: 7.938 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.3919, allocations: 11.92 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3919, allocations: 4 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007089/0.3926, allocations: 0.6472 MB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3926, allocations: 0 / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.3928, allocations: 23.94 kB / 0.5664 GB, free: 14.07 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.001652/0.3945, allocations: 436.8 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.3947, allocations: 47.97 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3947, allocations: 0 / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.3948, allocations: 31.91 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3952, allocations: 21.97 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3965, allocations: 0.8023 MB / 0.5677 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3968, allocations: 216.2 kB / 0.5679 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.3968, allocations: 15.77 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3969, allocations: 11.44 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3969, allocations: 0 / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.005877/0.4027, allocations: 1.663 MB / 0.5696 GB, free: 10.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.22904403693974]