Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001796/0.001796, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002445/0.002445, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.454/1.454, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2225/0.2225, allocations: 46.89 MB / 361.1 MB, free: 4.629 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-beta.om/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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 83.84 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2801, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002926/0.283, allocations: 1.628 MB / 0.5628 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2849, allocations: 1.263 MB / 0.564 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.285, allocations: 0 / 0.564 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.2852, allocations: 31.78 kB / 0.5641 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.2854, allocations: 79.62 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.2857, allocations: 91.69 kB / 0.5642 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2858, allocations: 75.83 kB / 0.5643 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.2859, allocations: 18.64 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.286, allocations: 31.86 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.2862, allocations: 39.78 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.2862, allocations: 4 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.2864, allocations: 99.92 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.2864, allocations: 11.98 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.2864, allocations: 35.75 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2867, allocations: 151.4 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2867, allocations: 0 / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.2867, allocations: 3.984 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2867, allocations: 0 / 0.5647 GB, free: 1.445 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005613/0.2873, allocations: 418.7 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2873, allocations: 12.03 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.2874, allocations: 8.891 kB / 0.5651 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.2876, allocations: 192.2 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2876, allocations: 4.375 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2876, allocations: 8.359 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2878, allocations: 67.95 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2878, allocations: 4.188 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2878, allocations: 7.938 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2878, allocations: 4 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2879, allocations: 31.97 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.2883, allocations: 304.7 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.2885, allocations: 54.53 kB / 0.5658 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.2885, allocations: 16.98 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.2885, allocations: 4 kB / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.2886, allocations: 42.48 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2886, allocations: 0 / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006488/0.2892, allocations: 173.5 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.2893, allocations: 81.09 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.2895, allocations: 159.9 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2895, allocations: 29.7 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.2895, allocations: 96.12 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.2896, allocations: 31.69 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.2896, allocations: 21.7 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2898, allocations: 322.8 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.2898, allocations: 23.97 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.571e-05/0.2899, allocations: 45.7 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2901, allocations: 60.83 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2901, allocations: 0 / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002346/0.2903, allocations: 105.8 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2903, allocations: 4 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2904, allocations: 0 / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2904, allocations: 4.031 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2905, allocations: 19.98 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.2905, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.2905, allocations: 8 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.2905, allocations: 4 kB / 0.567 GB, free: 14.88 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 9.651e-05/0.2906, allocations: 121.8 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.2907, allocations: 11.89 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.291, allocations: 122.2 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.291, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.291, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.291, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.2915, allocations: 398.3 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2915, allocations: 0 / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/0.2916, allocations: 15.98 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2916, allocations: 0 / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2916, allocations: 12.38 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2916, allocations: 3.938 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2916, allocations: 0 / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.2919, allocations: 195.5 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.2919, allocations: 81.06 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.292, allocations: 7.984 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.292, allocations: 11.94 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.2921, allocations: 7.938 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-06/0.2921, allocations: 11.92 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.2922, allocations: 111.3 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2922, allocations: 0 / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.2925, allocations: 43.86 kB / 0.5681 GB, free: 13.64 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 (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.001699/0.2942, allocations: 0.4883 MB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.2944, allocations: 59.97 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2944, allocations: 4 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.2945, allocations: 35.91 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2948, allocations: 17.05 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.2953, allocations: 201.7 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2956, allocations: 0.6963 MB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.2957, allocations: 20.95 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.2957, allocations: 15.44 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2957, allocations: 0 / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of Templates: time 0.005084/0.3008, allocations: 1.874 MB / 0.5714 GB, free: 10.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 4.7660522810183465]