Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") [: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.000907/0.000907, allocations: 184.8 kB / 7.803 MB, free: 2.488 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.031/1.031, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.0008149/0.0008149, allocations: 86.89 kB / 261.4 MB, free: 13.52 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.1544/0.1544, allocations: 43.5 MB / 352.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.063e-06, allocations: 0 / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 58.84 MB / 476.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3064, allocations: 86.85 MB / 0.5502 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.3066, allocations: 75.95 kB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01299/0.3196, allocations: 4.782 MB / 0.555 GB, free: 7.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3196, allocations: 7.938 kB / 0.555 GB, free: 7.289 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.0004042/0.32, allocations: 390.1 kB / 0.5553 GB, free: 6.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3201, allocations: 8.031 kB / 0.5553 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.3201, allocations: 7.906 kB / 0.5553 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3204, allocations: 207.4 kB / 0.5555 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3204, allocations: 7.906 kB / 0.5556 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3205, allocations: 3.938 kB / 0.5556 GB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.609e-05/0.3206, allocations: 24 kB / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.306e-05/0.3206, allocations: 49.67 kB / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3207, allocations: 0 / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3207, allocations: 0 / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3207, allocations: 0 / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.321, allocations: 265.4 kB / 0.5559 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.3211, allocations: 58.56 kB / 0.5559 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.3212, allocations: 16.98 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.3212, allocations: 0 / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.88e-05/0.3213, allocations: 63.39 kB / 0.556 GB, free: 6.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3213, allocations: 0 / 0.556 GB, free: 6.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003459/0.3216, allocations: 133.2 kB / 0.5561 GB, free: 5.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.3217, allocations: 55.34 kB / 0.5562 GB, free: 5.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3218, allocations: 151.5 kB / 0.5563 GB, free: 5.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3218, allocations: 25.7 kB / 0.5564 GB, free: 5.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.3219, allocations: 92.06 kB / 0.5565 GB, free: 5.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3219, allocations: 23.7 kB / 0.5565 GB, free: 5.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.3219, allocations: 0 / 0.5565 GB, free: 5.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3221, allocations: 314.8 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.3221, allocations: 23.98 kB / 0.5568 GB, free: 5.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.3221, allocations: 29.72 kB / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.3222, allocations: 27.98 kB / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3222, allocations: 0 / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001307/0.3223, allocations: 93.42 kB / 0.5569 GB, free: 5.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.3224, allocations: 8 kB / 0.5569 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3224, allocations: 0 / 0.5569 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.3224, allocations: 0 / 0.5569 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.3225, allocations: 16.17 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3225, allocations: 4.156 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.3225, allocations: 12.03 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3226, allocations: 4 kB / 0.557 GB, free: 5 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 6.737e-05/0.3226, allocations: 112.8 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.3226, allocations: 7.906 kB / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3228, allocations: 98.14 kB / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3228, allocations: 4 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3229, allocations: 3.938 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3229, allocations: 0 / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.3232, allocations: 364.1 kB / 0.5575 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3232, allocations: 0 / 0.5575 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.3233, allocations: 11.94 kB / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3233, allocations: 11.84 kB / 0.5576 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3233, allocations: 3.984 kB / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3233, allocations: 0 / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3233, allocations: 0 / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001695/0.3235, allocations: 209.9 kB / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.3235, allocations: 85.02 kB / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3236, allocations: 0 / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.3236, allocations: 7.984 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.3237, allocations: 15.92 kB / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3237, allocations: 0 / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.053e-05/0.3238, allocations: 136.5 kB / 0.558 GB, free: 3.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.324, allocations: 27.84 kB / 0.558 GB, free: 3.812 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.0006132/0.3246, allocations: 341.8 kB / 0.5584 GB, free: 3.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3248, allocations: 59.92 kB / 0.5584 GB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3248, allocations: 0 / 0.5584 GB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.3248, allocations: 31.94 kB / 0.5584 GB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3251, allocations: 27.83 kB / 0.5585 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.3254, allocations: 132.7 kB / 0.5586 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.3256, allocations: 0.7267 MB / 0.5593 GB, free: 2.488 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3257, allocations: 0 / 0.5593 GB, free: 2.488 MB / 394.7 MB Notification: Performance of Templates: time 0.003517/0.3292, allocations: 1.586 MB / 0.5609 GB, free: 0.918 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches