Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001457/0.001457, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001714/0.001714, allocations: 202.5 kB / 23.73 MB, free: 4.379 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.552/1.552, 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.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.2356/0.2356, allocations: 46.96 MB / 360.9 MB, free: 4.121 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.88 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3799, allocations: 66.03 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003545/0.3835, allocations: 1.664 MB / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3845, allocations: 0.5309 MB / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.3846, allocations: 0 / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.3852, allocations: 463.1 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.3857, allocations: 295.3 kB / 0.564 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.3861, allocations: 135.3 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.3863, allocations: 171.6 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3864, allocations: 19.98 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3866, allocations: 107.8 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.3869, allocations: 259.3 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3869, allocations: 4 kB / 0.5646 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.387, allocations: 51.98 kB / 0.5647 GB, free: 476 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.3871, allocations: 83.69 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.3872, allocations: 71.23 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.3876, allocations: 280.9 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3876, allocations: 4 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3876, allocations: 0 / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3876, allocations: 0 / 0.5651 GB, free: 40 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.0008263/0.3885, allocations: 0.5854 MB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3885, allocations: 12.03 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.3886, allocations: 44.66 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3889, allocations: 242.8 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3889, allocations: 8.375 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.389, allocations: 4.359 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3891, allocations: 61.75 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3891, allocations: 0 / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3892, allocations: 4 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3892, allocations: 4 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3893, allocations: 27.97 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.3898, allocations: 336.3 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3899, allocations: 46.55 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.39, allocations: 16.94 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.39, allocations: 4 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.39, allocations: 34.56 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.39, allocations: 0 / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001031/0.3911, allocations: 312.6 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3911, allocations: 55.34 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.3921, allocations: 0.8613 MB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3921, allocations: 29.7 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.3923, allocations: 220 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.3923, allocations: 31.72 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.3924, allocations: 21.72 kB / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3926, allocations: 358.8 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.3927, allocations: 27.98 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.3927, allocations: 23.98 kB / 0.5684 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3929, allocations: 68.77 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.3929, allocations: 4 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002555/0.3931, allocations: 133.4 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3932, allocations: 7.938 kB / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3932, allocations: 0 / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3932, allocations: 0 / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3933, allocations: 19.98 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3933, allocations: 7.938 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.3933, allocations: 4 kB / 0.5686 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3934, allocations: 8 kB / 0.5686 GB, free: 12.27 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.0002294/0.3936, allocations: 213.8 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.3937, allocations: 47.67 kB / 0.5689 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/0.394, allocations: 161.3 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.394, allocations: 0 / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.394, allocations: 11.94 kB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3941, allocations: 0 / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/0.3948, allocations: 435.3 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3948, allocations: 0 / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.3949, allocations: 19.98 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3949, allocations: 3.938 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3949, allocations: 4 kB / 0.5695 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.3949, allocations: 7.984 kB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3949, allocations: 80 / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.3953, allocations: 248 kB / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.3954, allocations: 35.67 kB / 0.5697 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.3954, allocations: 7.938 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.3955, allocations: 8 kB / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.3956, allocations: 3.984 kB / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3956, allocations: 4 kB / 0.5698 GB, free: 11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007171/0.3963, allocations: 0.6472 MB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3963, allocations: 3.938 kB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3966, allocations: 31.98 kB / 0.5704 GB, free: 10.32 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.001957/0.3985, allocations: 0.4896 MB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.3988, allocations: 59.91 kB / 0.571 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3988, allocations: 4 kB / 0.571 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.3989, allocations: 39.91 kB / 0.571 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.3994, allocations: 24.95 kB / 0.571 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4007, allocations: 0.8269 MB / 0.5718 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.4009, allocations: 220.1 kB / 0.572 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.029e-05/0.401, allocations: 20.95 kB / 0.5721 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.4011, allocations: 15.44 kB / 0.5721 GB, free: 8.785 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4011, allocations: 0 / 0.5721 GB, free: 8.785 MB / 414.1 MB Notification: Performance of Templates: time 0.006181/0.4072, allocations: 1.938 MB / 0.574 GB, free: 6.867 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.234817567747086]