Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") [: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.0009118/0.0009119, allocations: 187.3 kB / 7.802 MB, free: 2.496 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.035/1.035, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007959/0.0007958, allocations: 90.45 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.1504/0.1504, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.194e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.1999, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0991/0.299, allocations: 86.89 MB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.2993, allocations: 71.95 kB / 0.5503 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01321/0.3125, allocations: 5.024 MB / 0.5552 GB, free: 7.035 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3126, allocations: 7.938 kB / 0.5552 GB, free: 7.027 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.0003644/0.3129, allocations: 401.1 kB / 0.5556 GB, free: 6.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.313, allocations: 8.031 kB / 0.5556 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.313, allocations: 19.81 kB / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3133, allocations: 207.6 kB / 0.5558 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3133, allocations: 4 kB / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3133, allocations: 4 kB / 0.5558 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.019e-05/0.3134, allocations: 23.92 kB / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.556e-05/0.3135, allocations: 53.58 kB / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3135, allocations: 0 / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3135, allocations: 0 / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.3135, allocations: 0 / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.3138, allocations: 273.4 kB / 0.5562 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.3139, allocations: 50.69 kB / 0.5562 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.314, allocations: 24.92 kB / 0.5563 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.314, allocations: 0 / 0.5563 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.612e-05/0.3141, allocations: 63.39 kB / 0.5563 GB, free: 5.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.3141, allocations: 3.938 kB / 0.5563 GB, free: 5.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003343/0.3144, allocations: 129.3 kB / 0.5564 GB, free: 5.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.3145, allocations: 51.41 kB / 0.5565 GB, free: 5.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3146, allocations: 182.3 kB / 0.5567 GB, free: 5.375 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.3146, allocations: 29.7 kB / 0.5567 GB, free: 5.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.3147, allocations: 92.12 kB / 0.5568 GB, free: 5.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.3147, allocations: 27.64 kB / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.3147, allocations: 0 / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3148, allocations: 326.8 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.3149, allocations: 16 kB / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.3149, allocations: 29.72 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.315, allocations: 23.98 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.315, allocations: 0 / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001343/0.3151, allocations: 97.42 kB / 0.5573 GB, free: 4.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.3151, allocations: 4 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.3151, allocations: 0 / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.3151, allocations: 0 / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.3152, allocations: 28.2 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3153, allocations: 4 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.3153, allocations: 4 kB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3153, allocations: 192 / 0.5573 GB, free: 4.676 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.437e-05/0.3154, allocations: 108.4 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.3154, allocations: 19.73 kB / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.3156, allocations: 103.2 kB / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3156, allocations: 4 kB / 0.5575 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3156, allocations: 4 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3156, allocations: 0 / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.316, allocations: 375.8 kB / 0.5579 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.316, allocations: 3.984 kB / 0.5579 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.316, allocations: 8 kB / 0.5579 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.316, allocations: 3.984 kB / 0.5579 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.316, allocations: 11.91 kB / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3161, allocations: 3.938 kB / 0.5579 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3161, allocations: 4.031 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001632/0.3162, allocations: 201.9 kB / 0.5581 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.3163, allocations: 85.02 kB / 0.5582 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3163, allocations: 11.84 kB / 0.5582 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.3164, allocations: 7.922 kB / 0.5582 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.3164, allocations: 12 kB / 0.5582 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3165, allocations: 7.984 kB / 0.5582 GB, free: 3.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001003/0.3166, allocations: 136.9 kB / 0.5584 GB, free: 3.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.3168, allocations: 35.92 kB / 0.5584 GB, free: 3.457 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.000581/0.3174, allocations: 346.1 kB / 0.5587 GB, free: 3.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.3175, allocations: 59.92 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.3175, allocations: 0 / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.3176, allocations: 27.94 kB / 0.5588 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3178, allocations: 19.84 kB / 0.5588 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.3182, allocations: 168.7 kB / 0.559 GB, free: 2.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.3185, allocations: 0.727 MB / 0.5597 GB, free: 2.098 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3185, allocations: 0 / 0.5597 GB, free: 2.098 MB / 394.7 MB Notification: Performance of Templates: time 0.003455/0.3219, allocations: 1.646 MB / 0.5613 GB, free: 472 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches