Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 183.4 kB / 8.52 MB, free: 0.4922 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.4 MB / 230.3 MB, free: 13.56 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 89.77 kB / 281.2 MB, free: 10.53 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1857/0.1857, allocations: 44.13 MB / 376.1 MB, free: 11.68 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.015e-05, allocations: 4 kB / 444 MB, free: 54.38 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 61.91 MB / 0.4941 GB, free: 8.391 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4695, allocations: 88.3 MB / 0.5803 GB, free: 10.55 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.4699, allocations: 72.67 kB / 0.5804 GB, free: 10.48 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.01508/0.485, allocations: 5.332 MB / 0.5856 GB, free: 5.156 MB / 402.8 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.485, allocations: 4 kB / 0.5856 GB, free: 5.152 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004423/0.4855, allocations: 398 kB / 0.586 GB, free: 4.719 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4855, allocations: 21.22 kB / 0.586 GB, free: 4.699 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.4856, allocations: 11.81 kB / 0.586 GB, free: 4.688 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.4859, allocations: 234.3 kB / 0.5862 GB, free: 4.418 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4859, allocations: 0.5625 kB / 0.5862 GB, free: 4.418 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.486, allocations: 0 / 0.5862 GB, free: 4.418 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.579e-05/0.486, allocations: 23.92 kB / 0.5863 GB, free: 4.395 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/0.4861, allocations: 45.59 kB / 0.5863 GB, free: 4.344 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.4861, allocations: 0 / 0.5863 GB, free: 4.344 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4862, allocations: 3.984 kB / 0.5863 GB, free: 4.34 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4862, allocations: 3.938 kB / 0.5863 GB, free: 4.336 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.4864, allocations: 170.2 kB / 0.5865 GB, free: 4.133 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.4865, allocations: 46.62 kB / 0.5865 GB, free: 4.078 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.4865, allocations: 16.86 kB / 0.5865 GB, free: 4.059 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4865, allocations: 0 / 0.5865 GB, free: 4.059 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.456e-05/0.4866, allocations: 67.36 kB / 0.5866 GB, free: 3.98 MB / 402.8 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4866, allocations: 4 kB / 0.5866 GB, free: 3.977 MB / 402.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001913/0.4868, allocations: 73.5 kB / 0.5867 GB, free: 3.895 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.487, allocations: 51.41 kB / 0.5867 GB, free: 3.832 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.4872, allocations: 225.9 kB / 0.5869 GB, free: 3.602 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.4872, allocations: 25.7 kB / 0.587 GB, free: 3.57 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.4873, allocations: 96.12 kB / 0.5871 GB, free: 3.473 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.4873, allocations: 7.906 kB / 0.5871 GB, free: 3.465 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.4873, allocations: 0 / 0.5871 GB, free: 3.465 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4874, allocations: 334.8 kB / 0.5874 GB, free: 3.129 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.4874, allocations: 12 kB / 0.5874 GB, free: 3.117 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.4875, allocations: 29.7 kB / 0.5874 GB, free: 3.082 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.4875, allocations: 15.98 kB / 0.5874 GB, free: 3.066 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4875, allocations: 3.938 kB / 0.5874 GB, free: 3.062 MB / 402.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001165/0.4877, allocations: 77.5 kB / 0.5875 GB, free: 2.98 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.4877, allocations: 4 kB / 0.5875 GB, free: 2.977 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4877, allocations: 3.984 kB / 0.5875 GB, free: 2.973 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4877, allocations: 11.94 kB / 0.5875 GB, free: 2.961 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.4878, allocations: 8 kB / 0.5875 GB, free: 2.953 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4878, allocations: 0 / 0.5875 GB, free: 2.953 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.4879, allocations: 11.92 kB / 0.5876 GB, free: 2.941 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.4879, allocations: 0 / 0.5876 GB, free: 2.941 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.488, allocations: 108.9 kB / 0.5877 GB, free: 2.828 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.488, allocations: 11.81 kB / 0.5877 GB, free: 2.816 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.4882, allocations: 82.77 kB / 0.5877 GB, free: 2.73 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4882, allocations: 7.906 kB / 0.5878 GB, free: 2.723 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4882, allocations: 192 / 0.5878 GB, free: 2.723 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4882, allocations: 0 / 0.5878 GB, free: 2.723 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.4883, allocations: 190.2 kB / 0.5879 GB, free: 2.5 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4883, allocations: 0 / 0.5879 GB, free: 2.5 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.4884, allocations: 7.984 kB / 0.5879 GB, free: 2.492 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.4884, allocations: 0 / 0.5879 GB, free: 2.492 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4884, allocations: 0 / 0.5879 GB, free: 2.492 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4884, allocations: 3.938 kB / 0.5879 GB, free: 2.488 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4884, allocations: 3.906 kB / 0.588 GB, free: 2.484 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001267/0.4886, allocations: 108.9 kB / 0.5881 GB, free: 2.359 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.4886, allocations: 100.9 kB / 0.5882 GB, free: 2.242 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.4887, allocations: 3.938 kB / 0.5882 GB, free: 2.238 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.4887, allocations: 7.984 kB / 0.5882 GB, free: 2.23 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.4888, allocations: 0 / 0.5882 GB, free: 2.23 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.4888, allocations: 4 kB / 0.5882 GB, free: 2.227 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001569/0.4889, allocations: 188.2 kB / 0.5883 GB, free: 2.043 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0002206/0.4892, allocations: 27.98 kB / 0.5884 GB, free: 2.016 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007231/0.4899, allocations: 319.1 kB / 0.5887 GB, free: 1.785 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.49, allocations: 32 kB / 0.5887 GB, free: 1.754 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.49, allocations: 0 / 0.5887 GB, free: 1.754 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.4901, allocations: 20 kB / 0.5887 GB, free: 1.734 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.4903, allocations: 35.83 kB / 0.5888 GB, free: 1.699 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.4908, allocations: 199.6 kB / 0.589 GB, free: 1.477 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.4911, allocations: 0.7305 MB / 0.5897 GB, free: 0.7227 MB / 402.8 MB Notification: Performance of SimCode: time 2.11e-07/0.4911, allocations: 0 / 0.5897 GB, free: 0.7227 MB / 402.8 MB Notification: Performance of Templates: time 0.004129/0.4953, allocations: 1.518 MB / 0.5911 GB, free: 15.21 MB / 418.8 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches