Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") [: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.0009106/0.0009107, allocations: 191.5 kB / 7.805 MB, free: 2.438 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.029/1.029, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008571/0.0008571, allocations: 102.4 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.1534/0.1534, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.482e-06, allocations: 0 / 417.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2007, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09841/0.2992, allocations: 86.89 MB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.2994, allocations: 67.97 kB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01342/0.3128, allocations: 4.942 MB / 0.5551 GB, free: 7.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3129, allocations: 0 / 0.5551 GB, free: 7.098 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.0003327/0.3132, allocations: 390.1 kB / 0.5555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.3132, allocations: 8.031 kB / 0.5555 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.3133, allocations: 11.84 kB / 0.5555 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.3136, allocations: 218.7 kB / 0.5557 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3136, allocations: 0 / 0.5557 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3136, allocations: 4 kB / 0.5557 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.713e-05/0.3137, allocations: 19.98 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.044e-05/0.3137, allocations: 45.69 kB / 0.5558 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3138, allocations: 0 / 0.5558 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3138, allocations: 4 kB / 0.5558 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.3138, allocations: 0 / 0.5558 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.3141, allocations: 281.3 kB / 0.5561 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.3142, allocations: 50.62 kB / 0.5561 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.3142, allocations: 20.97 kB / 0.5562 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3142, allocations: 0 / 0.5562 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.167e-05/0.3143, allocations: 67.25 kB / 0.5562 GB, free: 5.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3143, allocations: 4 kB / 0.5562 GB, free: 5.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003294/0.3147, allocations: 129.3 kB / 0.5563 GB, free: 5.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.3147, allocations: 51.41 kB / 0.5564 GB, free: 5.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3148, allocations: 153.3 kB / 0.5565 GB, free: 5.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3148, allocations: 29.7 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.3149, allocations: 88.12 kB / 0.5567 GB, free: 5.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3149, allocations: 23.66 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.3149, allocations: 0 / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.315, allocations: 330.8 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.175e-05/0.315, allocations: 16 kB / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.009e-05/0.3151, allocations: 37.64 kB / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.3151, allocations: 16 kB / 0.5571 GB, free: 4.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3151, allocations: 0 / 0.5571 GB, free: 4.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001336/0.3153, allocations: 97.62 kB / 0.5571 GB, free: 4.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.3153, allocations: 7.906 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3153, allocations: 4 kB / 0.5572 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.3153, allocations: 4.031 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.467e-05/0.3154, allocations: 19.94 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3154, allocations: 3.984 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.3155, allocations: 4 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3155, allocations: 4 kB / 0.5572 GB, free: 4.789 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.411e-05/0.3155, allocations: 104.4 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.3156, allocations: 16 kB / 0.5573 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.3157, allocations: 98.09 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3158, allocations: 8 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3158, allocations: 4 kB / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3158, allocations: 0 / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.3161, allocations: 364.1 kB / 0.5578 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3161, allocations: 4 kB / 0.5578 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.3161, allocations: 8 kB / 0.5578 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3162, allocations: 7.922 kB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3162, allocations: 0 / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3162, allocations: 8.031 kB / 0.5578 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3162, allocations: 0 / 0.5578 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001545/0.3163, allocations: 201.9 kB / 0.558 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.3164, allocations: 100.9 kB / 0.5581 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3164, allocations: 0 / 0.5581 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.3165, allocations: 11.98 kB / 0.5581 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.3165, allocations: 0 / 0.5581 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3165, allocations: 4 kB / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.525e-05/0.3166, allocations: 132.1 kB / 0.5582 GB, free: 3.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.3169, allocations: 27.94 kB / 0.5582 GB, free: 3.613 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.0005689/0.3174, allocations: 355.9 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.3176, allocations: 48 kB / 0.5586 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3176, allocations: 4 kB / 0.5586 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.3176, allocations: 27.94 kB / 0.5587 GB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3179, allocations: 28.48 kB / 0.5587 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.3181, allocations: 148.6 kB / 0.5588 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.3184, allocations: 0.727 MB / 0.5595 GB, free: 2.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3184, allocations: 0 / 0.5595 GB, free: 2.266 MB / 394.7 MB Notification: Performance of Templates: time 0.003381/0.3218, allocations: 1.617 MB / 0.5611 GB, free: 0.6602 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches