Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [: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.0009215/0.0009214, allocations: 180.8 kB / 7.8 MB, free: 2.277 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.02/1.02, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008485/0.0008488, allocations: 92.77 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.1628/0.1628, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.525e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2044, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.3045, allocations: 87.88 MB / 0.5512 GB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.3047, allocations: 79.95 kB / 0.5513 GB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01031/0.3151, allocations: 3.874 MB / 0.5551 GB, free: 7.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3151, allocations: 8 kB / 0.5551 GB, free: 7.18 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000417/0.3155, allocations: 455.9 kB / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.3156, allocations: 12.03 kB / 0.5555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.3156, allocations: 11.81 kB / 0.5555 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3159, allocations: 230.7 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3159, allocations: 8 kB / 0.5558 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3159, allocations: 11.91 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.058e-05/0.316, allocations: 31.98 kB / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3161, allocations: 84.25 kB / 0.5559 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3162, allocations: 0 / 0.5559 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3162, allocations: 7.938 kB / 0.5559 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3162, allocations: 0 / 0.5559 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.3166, allocations: 0.4975 MB / 0.5564 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3169, allocations: 78.62 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.3169, allocations: 28.84 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3169, allocations: 7.984 kB / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.947e-05/0.317, allocations: 67.41 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.317, allocations: 0 / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001787/0.3172, allocations: 93.42 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.3172, allocations: 59.41 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3174, allocations: 166.7 kB / 0.5569 GB, free: 5.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3174, allocations: 29.69 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.3175, allocations: 99.94 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.3175, allocations: 23.66 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.3175, allocations: 0 / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.3176, allocations: 326.8 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.3176, allocations: 27.92 kB / 0.5573 GB, free: 4.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.294e-05/0.3177, allocations: 54.17 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/0.3177, allocations: 31.92 kB / 0.5574 GB, free: 4.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3177, allocations: 0 / 0.5574 GB, free: 4.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001606/0.3179, allocations: 117.5 kB / 0.5575 GB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.3179, allocations: 8.031 kB / 0.5575 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3179, allocations: 192 / 0.5575 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.318, allocations: 7.906 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3181, allocations: 27.92 kB / 0.5576 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3181, allocations: 3.984 kB / 0.5576 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.3182, allocations: 15.92 kB / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3182, allocations: 8 kB / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.248e-05/0.3182, allocations: 113 kB / 0.5577 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.3183, allocations: 15.81 kB / 0.5577 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.3184, allocations: 107 kB / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3185, allocations: 0 / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3185, allocations: 4 kB / 0.5578 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3185, allocations: 0 / 0.5578 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3186, allocations: 186.2 kB / 0.558 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3186, allocations: 0 / 0.558 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.3187, allocations: 19.98 kB / 0.558 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3187, allocations: 0 / 0.558 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3187, allocations: 4 kB / 0.558 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3187, allocations: 0 / 0.558 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3187, allocations: 0 / 0.558 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002036/0.3189, allocations: 160.8 kB / 0.5582 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.319, allocations: 88.92 kB / 0.5583 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.319, allocations: 4 kB / 0.5583 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.3191, allocations: 12.05 kB / 0.5583 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3192, allocations: 11.98 kB / 0.5583 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3192, allocations: 0 / 0.5583 GB, free: 3.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.447e-05/0.3193, allocations: 128.1 kB / 0.5584 GB, free: 3.418 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.3195, allocations: 43.95 kB / 0.5585 GB, free: 3.375 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0005325/0.32, allocations: 319 kB / 0.5588 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.3202, allocations: 63.94 kB / 0.5588 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3202, allocations: 0 / 0.5588 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.3202, allocations: 35.92 kB / 0.5589 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.3204, allocations: 35.84 kB / 0.5589 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.3208, allocations: 175.7 kB / 0.5591 GB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.3211, allocations: 0.7432 MB / 0.5598 GB, free: 1.996 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3211, allocations: 0 / 0.5598 GB, free: 1.996 MB / 394.7 MB Notification: Performance of Templates: time 0.00383/0.3249, allocations: 1.78 MB / 0.5615 GB, free: 228 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches