Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") [: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 3.2.3+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 185.1 kB / 7.805 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.041/1.041, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007807/0.0007806, allocations: 95.67 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.16/0.16, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.773e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2007, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09516/0.2959, allocations: 86.86 MB / 0.5502 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001723/0.2961, allocations: 75.95 kB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01307/0.3092, allocations: 4.879 MB / 0.5551 GB, free: 7.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3092, allocations: 7.938 kB / 0.5551 GB, free: 7.203 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004503/0.3097, allocations: 390.2 kB / 0.5554 GB, free: 6.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3097, allocations: 12.03 kB / 0.5554 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.3098, allocations: 11.91 kB / 0.5555 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.3101, allocations: 221.5 kB / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3101, allocations: 3.984 kB / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.3101, allocations: 4 kB / 0.5557 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.807e-05/0.3102, allocations: 19.98 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/0.3103, allocations: 45.69 kB / 0.5557 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3103, allocations: 7.906 kB / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3103, allocations: 0 / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.3103, allocations: 0 / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.3106, allocations: 269.5 kB / 0.556 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3107, allocations: 50.55 kB / 0.5561 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.3108, allocations: 20.97 kB / 0.5561 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.3108, allocations: 0 / 0.5561 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.58e-05/0.3109, allocations: 63.41 kB / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.3109, allocations: 0 / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003496/0.3112, allocations: 141.1 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3113, allocations: 59.34 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3114, allocations: 162.3 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3115, allocations: 29.7 kB / 0.5565 GB, free: 5.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.3115, allocations: 88.12 kB / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3115, allocations: 23.7 kB / 0.5566 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.3115, allocations: 4 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.3116, allocations: 322.8 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.3117, allocations: 20 kB / 0.5569 GB, free: 5.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.3117, allocations: 29.72 kB / 0.557 GB, free: 5.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.3118, allocations: 24.11 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3118, allocations: 3.906 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001316/0.3119, allocations: 93.59 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.3119, allocations: 12.03 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3119, allocations: 0 / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.312, allocations: 0 / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.312, allocations: 15.98 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3121, allocations: 7.938 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3121, allocations: 3.906 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3121, allocations: 4 kB / 0.5571 GB, free: 4.879 MB / 394.7 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 (10): * Single equations (assignments): 10 * 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 5.723e-05/0.3122, allocations: 109 kB / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.3122, allocations: 7.906 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.3124, allocations: 110 kB / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3124, allocations: 0 / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3124, allocations: 0 / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3124, allocations: 0 / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.3128, allocations: 367.8 kB / 0.5577 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3128, allocations: 4.188 kB / 0.5577 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.3128, allocations: 16 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3128, allocations: 4.031 kB / 0.5577 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3128, allocations: 4 kB / 0.5577 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3128, allocations: 3.984 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3129, allocations: 0 / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001568/0.313, allocations: 201.9 kB / 0.5579 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.3131, allocations: 92.91 kB / 0.558 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3131, allocations: 4 kB / 0.558 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.3132, allocations: 4 kB / 0.558 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.3132, allocations: 15.92 kB / 0.558 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3132, allocations: 0 / 0.558 GB, free: 3.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.656e-05/0.3133, allocations: 144.1 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.3136, allocations: 27.94 kB / 0.5582 GB, free: 3.684 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0005883/0.3142, allocations: 358.3 kB / 0.5585 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.3143, allocations: 48 kB / 0.5586 GB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3143, allocations: 0 / 0.5586 GB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.232e-05/0.3144, allocations: 31.94 kB / 0.5586 GB, free: 3.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.3146, allocations: 31.73 kB / 0.5586 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.3149, allocations: 156.7 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.3152, allocations: 0.727 MB / 0.5595 GB, free: 2.316 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3152, allocations: 3.938 kB / 0.5595 GB, free: 2.312 MB / 394.7 MB Notification: Performance of Templates: time 0.003587/0.3188, allocations: 1.627 MB / 0.5611 GB, free: 0.6992 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches