Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [: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.001046/0.001047, allocations: 179.8 kB / 8.519 MB, free: 476 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.4 MB / 230.3 MB, free: 13.59 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.0009368/0.0009367, allocations: 94.98 kB / 281.2 MB, free: 10.48 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.1894/0.1894, allocations: 44.14 MB / 376.1 MB, free: 11.65 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.65e-05, allocations: 4 kB / 444 MB, free: 54.35 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 61.91 MB / 0.4941 GB, free: 8.367 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4943, allocations: 88.56 MB / 0.5806 GB, free: 10.26 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.4946, allocations: 67.95 kB / 0.5806 GB, free: 10.19 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.02064/0.5153, allocations: 7.245 MB / 0.5877 GB, free: 2.953 MB / 402.8 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.5154, allocations: 4 kB / 0.5877 GB, free: 2.949 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000679/0.516, allocations: 465.9 kB / 0.5882 GB, free: 2.449 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5161, allocations: 11.97 kB / 0.5882 GB, free: 2.438 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.5162, allocations: 15.81 kB / 0.5882 GB, free: 2.422 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.5166, allocations: 250.2 kB / 0.5884 GB, free: 2.137 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5166, allocations: 3.938 kB / 0.5884 GB, free: 2.133 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.5166, allocations: 4 kB / 0.5884 GB, free: 2.129 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.865e-05/0.5167, allocations: 27.98 kB / 0.5885 GB, free: 2.102 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.5169, allocations: 101 kB / 0.5886 GB, free: 1.984 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.5169, allocations: 3.906 kB / 0.5886 GB, free: 1.98 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5169, allocations: 0 / 0.5886 GB, free: 1.98 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5169, allocations: 4 kB / 0.5886 GB, free: 1.977 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.5172, allocations: 191.1 kB / 0.5887 GB, free: 1.75 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.5174, allocations: 93.39 kB / 0.5888 GB, free: 1.641 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.5174, allocations: 37.7 kB / 0.5889 GB, free: 1.598 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.5175, allocations: 4 kB / 0.5889 GB, free: 1.594 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.5176, allocations: 104.9 kB / 0.589 GB, free: 1.473 MB / 402.8 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5176, allocations: 0 / 0.589 GB, free: 1.473 MB / 402.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002475/0.5179, allocations: 105.5 kB / 0.5891 GB, free: 1.363 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.518, allocations: 128.5 kB / 0.5892 GB, free: 1.207 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.5182, allocations: 195 kB / 0.5894 GB, free: 1.004 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.5182, allocations: 25.7 kB / 0.5894 GB, free: 0.9727 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.5183, allocations: 96.12 kB / 0.5895 GB, free: 0.875 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.5183, allocations: 27.64 kB / 0.5895 GB, free: 0.8477 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.5183, allocations: 0 / 0.5895 GB, free: 0.8477 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5184, allocations: 334.7 kB / 0.5898 GB, free: 0.5117 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.5185, allocations: 23.98 kB / 0.5899 GB, free: 500 kB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.5186, allocations: 69.09 kB / 0.5899 GB, free: 412 kB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.5186, allocations: 30.75 kB / 0.59 GB, free: 384 kB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5186, allocations: 0 / 0.59 GB, free: 384 kB / 402.8 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001884/0.5188, allocations: 121.5 kB / 0.5901 GB, free: 256 kB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5189, allocations: 14.17 kB / 0.5901 GB, free: 244 kB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5189, allocations: 0 / 0.5901 GB, free: 244 kB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5189, allocations: 96 / 0.5901 GB, free: 244 kB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.519, allocations: 27.94 kB / 0.5901 GB, free: 216 kB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.519, allocations: 3.984 kB / 0.5901 GB, free: 212 kB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.5191, allocations: 15.84 kB / 0.5901 GB, free: 196 kB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.5191, allocations: 4 kB / 0.5901 GB, free: 192 kB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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 8.497e-05/0.5192, allocations: 113.9 kB / 0.5903 GB, free: 72 kB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.5193, allocations: 15.81 kB / 0.5903 GB, free: 56 kB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.5195, allocations: 134.6 kB / 0.5904 GB, free: 15.92 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.5196, allocations: 7.938 kB / 0.5904 GB, free: 15.91 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5196, allocations: 0 / 0.5904 GB, free: 15.91 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5196, allocations: 3.984 kB / 0.5904 GB, free: 15.91 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.5198, allocations: 198 kB / 0.5906 GB, free: 15.68 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5198, allocations: 0 / 0.5906 GB, free: 15.68 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.5198, allocations: 15.98 kB / 0.5906 GB, free: 15.66 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5198, allocations: 0 / 0.5906 GB, free: 15.66 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.5199, allocations: 0 / 0.5906 GB, free: 15.66 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5199, allocations: 7.938 kB / 0.5906 GB, free: 15.65 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5199, allocations: 0 / 0.5906 GB, free: 15.65 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002/0.5201, allocations: 163.6 kB / 0.5908 GB, free: 15.46 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.5202, allocations: 100.9 kB / 0.5909 GB, free: 15.35 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.5202, allocations: 8 kB / 0.5909 GB, free: 15.34 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.5203, allocations: 7.984 kB / 0.5909 GB, free: 15.33 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.5203, allocations: 8 kB / 0.5909 GB, free: 15.32 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.5203, allocations: 7.984 kB / 0.5909 GB, free: 15.32 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0001352/0.5205, allocations: 157.5 kB / 0.5911 GB, free: 15.16 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.000288/0.5208, allocations: 47.88 kB / 0.5911 GB, free: 15.12 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007769/0.5216, allocations: 352.5 kB / 0.5914 GB, free: 14.85 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.5218, allocations: 71.94 kB / 0.5915 GB, free: 14.78 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5218, allocations: 0 / 0.5915 GB, free: 14.78 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/0.5218, allocations: 48.3 kB / 0.5916 GB, free: 14.73 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.5222, allocations: 50.22 kB / 0.5916 GB, free: 14.68 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.5226, allocations: 192.3 kB / 0.5918 GB, free: 14.47 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.5229, allocations: 0.7471 MB / 0.5925 GB, free: 13.7 MB / 418.8 MB Notification: Performance of SimCode: time 2.71e-07/0.5229, allocations: 0 / 0.5925 GB, free: 13.7 MB / 418.8 MB Notification: Performance of Templates: time 0.005457/0.5284, allocations: 2.438 MB / 0.5949 GB, free: 11.28 MB / 418.8 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches