Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 174.7 kB / 8.143 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 95.39 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2714/0.2714, allocations: 43.48 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.076e-05/1.104e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.4548, allocations: 87.01 MB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4551, allocations: 75.47 kB / 0.5504 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03402/0.4892, allocations: 7.395 MB / 0.5576 GB, free: 4.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.973e-05/0.4892, allocations: 4 kB / 0.5576 GB, free: 4.594 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008364/0.4901, allocations: 0.4976 MB / 0.5581 GB, free: 4.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4901, allocations: 12.02 kB / 0.5581 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.4902, allocations: 31.62 kB / 0.5582 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/0.491, allocations: 287 kB / 0.5584 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.491, allocations: 7.984 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.4911, allocations: 8 kB / 0.5585 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001575/0.4912, allocations: 31.98 kB / 0.5585 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.4915, allocations: 91.31 kB / 0.5586 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4915, allocations: 3.906 kB / 0.5586 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.4915, allocations: 4 kB / 0.5586 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4915, allocations: 0 / 0.5586 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.4924, allocations: 457.5 kB / 0.559 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.4927, allocations: 101.5 kB / 0.5591 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4928, allocations: 37.83 kB / 0.5592 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4928, allocations: 3.984 kB / 0.5592 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.4931, allocations: 112.9 kB / 0.5593 GB, free: 2.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.4931, allocations: 0 / 0.5593 GB, free: 2.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001035/0.4941, allocations: 299.7 kB / 0.5595 GB, free: 2.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.4942, allocations: 81.11 kB / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/0.4951, allocations: 410 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.4951, allocations: 33.7 kB / 0.56 GB, free: 1.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.4952, allocations: 150.8 kB / 0.5602 GB, free: 1.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.4953, allocations: 51.3 kB / 0.5602 GB, free: 1.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.4953, allocations: 4 kB / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4955, allocations: 314.8 kB / 0.5605 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.4956, allocations: 36 kB / 0.5606 GB, free: 1.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4958, allocations: 66.86 kB / 0.5606 GB, free: 1.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.4959, allocations: 43.89 kB / 0.5607 GB, free: 1.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4959, allocations: 4 kB / 0.5607 GB, free: 1.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004113/0.4964, allocations: 153.6 kB / 0.5608 GB, free: 1.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4964, allocations: 4 kB / 0.5608 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4964, allocations: 4 kB / 0.5608 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4964, allocations: 0 / 0.5608 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.4967, allocations: 31.98 kB / 0.5609 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4968, allocations: 0 / 0.5609 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4969, allocations: 11.92 kB / 0.5609 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.4969, allocations: 12.06 kB / 0.5609 GB, free: 1.004 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.382e-05/0.497, allocations: 39.05 kB / 0.5609 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.4971, allocations: 27.62 kB / 0.561 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.4977, allocations: 192.2 kB / 0.5611 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4978, allocations: 4 kB / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4978, allocations: 0 / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4978, allocations: 384 / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.499, allocations: 0.6365 MB / 0.5618 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.499, allocations: 4 kB / 0.5618 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4992, allocations: 27.92 kB / 0.5618 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.4992, allocations: 0 / 0.5618 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.4992, allocations: 8 kB / 0.5618 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.916e-05/0.4993, allocations: 11.89 kB / 0.5618 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4993, allocations: 0 / 0.5618 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005648/0.4999, allocations: 382.4 kB / 0.5622 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.5001, allocations: 128.6 kB / 0.5623 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.5002, allocations: 4 kB / 0.5623 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.5005, allocations: 11.98 kB / 0.5623 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.5005, allocations: 11.98 kB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.5006, allocations: 8 kB / 0.5623 GB, free: 15.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006118/0.5012, allocations: 336.5 kB / 0.5627 GB, free: 15.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.5017, allocations: 51.94 kB / 0.5627 GB, free: 15.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.001033/0.5027, allocations: 354.9 kB / 0.563 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.5031, allocations: 107.8 kB / 0.5632 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5031, allocations: 0 / 0.5632 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.5033, allocations: 63.92 kB / 0.5632 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.504, allocations: 46.08 kB / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.5053, allocations: 480.8 kB / 0.5637 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/0.506, allocations: 0.8131 MB / 0.5645 GB, free: 13.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.506, allocations: 0 / 0.5645 GB, free: 13.15 MB / 410.7 MB Notification: Performance of Templates: time 0.009571/0.5156, allocations: 3.605 MB / 0.568 GB, free: 9.547 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches