Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.002261/0.002261, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00232/0.00232, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.751/1.751, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2589/0.2589, allocations: 46.92 MB / 360.8 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 179] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 63.91 kB / 0.4967 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3758, allocations: 66.03 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003305/0.3791, allocations: 1.672 MB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3804, allocations: 0.5972 MB / 0.5634 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.3804, allocations: 3.938 kB / 0.5634 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000686/0.3811, allocations: 459.1 kB / 0.5638 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.3816, allocations: 291.3 kB / 0.5641 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3821, allocations: 174.9 kB / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.3824, allocations: 179.6 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3825, allocations: 11.98 kB / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.3826, allocations: 111.7 kB / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.3829, allocations: 251.5 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3829, allocations: 7.938 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.326e-05/0.383, allocations: 43.92 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3831, allocations: 79.69 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3832, allocations: 99 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.3836, allocations: 265 kB / 0.5652 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3836, allocations: 4 kB / 0.5652 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3836, allocations: 7.938 kB / 0.5653 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3836, allocations: 0 / 0.5653 GB, free: 176 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008687/0.3845, allocations: 0.575 MB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3845, allocations: 8.031 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.3846, allocations: 52.59 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.3849, allocations: 246.8 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.385, allocations: 384 / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.385, allocations: 4.375 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3852, allocations: 56.48 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3852, allocations: 4 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3852, allocations: 4 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3852, allocations: 0 / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3853, allocations: 31.97 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.3859, allocations: 367.7 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.3862, allocations: 46.55 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.3862, allocations: 16.86 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3863, allocations: 0 / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3863, allocations: 42.58 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3863, allocations: 0 / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007237/0.387, allocations: 244.7 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3871, allocations: 55.34 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/0.388, allocations: 0.866 MB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.388, allocations: 25.7 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.3882, allocations: 228 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.3883, allocations: 15.86 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.3883, allocations: 25.64 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002555/0.3886, allocations: 358.8 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3887, allocations: 23.98 kB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.3888, allocations: 23.97 kB / 0.5685 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3889, allocations: 57.02 kB / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3889, allocations: 0 / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002312/0.3891, allocations: 117.4 kB / 0.5686 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3892, allocations: 11.92 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3892, allocations: 11.94 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3892, allocations: 0 / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.3893, allocations: 8 kB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3893, allocations: 3.938 kB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.3893, allocations: 7.984 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3893, allocations: 8 kB / 0.5687 GB, free: 12.48 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.0002095/0.3895, allocations: 209.8 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.3896, allocations: 39.72 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.3899, allocations: 149.2 kB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3899, allocations: 3.938 kB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.3899, allocations: 0 / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3899, allocations: 0 / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.3905, allocations: 441.5 kB / 0.5695 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3905, allocations: 0 / 0.5695 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.3906, allocations: 8 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3906, allocations: 4 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3906, allocations: 11.98 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3906, allocations: 0 / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3906, allocations: 3.984 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3909, allocations: 231.5 kB / 0.5697 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.3909, allocations: 31.72 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.391, allocations: 4 kB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.3911, allocations: 11.98 kB / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.3911, allocations: 7.984 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3911, allocations: 0 / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006732/0.3918, allocations: 0.655 MB / 0.5704 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3918, allocations: 0 / 0.5704 GB, free: 10.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.392, allocations: 23.92 kB / 0.5704 GB, free: 10.58 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.001505/0.3935, allocations: 409.4 kB / 0.5708 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3938, allocations: 59.91 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3938, allocations: 0 / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.3939, allocations: 27.97 kB / 0.5709 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3943, allocations: 32.06 kB / 0.5709 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3955, allocations: 0.8066 MB / 0.5717 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.396, allocations: 0.8299 MB / 0.5725 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.396, allocations: 11.98 kB / 0.5726 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3961, allocations: 15.44 kB / 0.5726 GB, free: 8.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3961, allocations: 0 / 0.5726 GB, free: 8.5 MB / 414.1 MB Notification: Performance of Templates: time 0.005749/0.4018, allocations: 1.538 MB / 0.5741 GB, free: 6.965 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.779416244011372]