Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [: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.0009159/0.0009159, allocations: 184.8 kB / 7.803 MB, free: 2.414 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.046/1.046, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008091/0.0008091, allocations: 82.8 kB / 261.4 MB, free: 13.55 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.1482/0.1482, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2004, allocations: 58.83 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09602/0.2965, allocations: 87.88 MB / 0.5512 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.2968, allocations: 75.95 kB / 0.5513 GB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0104/0.3072, allocations: 3.866 MB / 0.5551 GB, free: 7.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3072, allocations: 11.94 kB / 0.5551 GB, free: 7.207 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.0004232/0.3077, allocations: 459.8 kB / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.3077, allocations: 12.03 kB / 0.5555 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.3078, allocations: 15.81 kB / 0.5555 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.308, allocations: 230.7 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3081, allocations: 3.984 kB / 0.5558 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3081, allocations: 7.906 kB / 0.5558 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.86e-05/0.3082, allocations: 32 kB / 0.5558 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.3083, allocations: 96.17 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3083, allocations: 0 / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3083, allocations: 0 / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3084, allocations: 4 kB / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.3088, allocations: 497.5 kB / 0.5564 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.309, allocations: 78.61 kB / 0.5564 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.3091, allocations: 28.86 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3091, allocations: 0 / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.951e-05/0.3092, allocations: 67.39 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3092, allocations: 4 kB / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001846/0.3094, allocations: 97.42 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.3094, allocations: 55.41 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3096, allocations: 162.7 kB / 0.5568 GB, free: 5.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3096, allocations: 25.7 kB / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.3097, allocations: 103.9 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.3097, allocations: 27.64 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.3097, allocations: 0 / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.3098, allocations: 322.8 kB / 0.5573 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.3098, allocations: 27.94 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.3099, allocations: 60.22 kB / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.31, allocations: 32.02 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.31, allocations: 0 / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001641/0.3101, allocations: 121.4 kB / 0.5575 GB, free: 4.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/0.3102, allocations: 4 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3102, allocations: 0 / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3102, allocations: 7.906 kB / 0.5575 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3103, allocations: 23.98 kB / 0.5576 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3103, allocations: 0 / 0.5576 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.3104, allocations: 12.06 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3104, allocations: 11.98 kB / 0.5576 GB, free: 4.383 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.59e-05/0.3105, allocations: 117 kB / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3105, allocations: 15.8 kB / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.3107, allocations: 107 kB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3107, allocations: 0 / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3107, allocations: 4 kB / 0.5578 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.3107, allocations: 4 kB / 0.5578 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.3108, allocations: 190.2 kB / 0.558 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3108, allocations: 4 kB / 0.558 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.3109, allocations: 12 kB / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3109, allocations: 0 / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.311, allocations: 7.984 kB / 0.558 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.311, allocations: 0 / 0.558 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.311, allocations: 0 / 0.558 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002067/0.3112, allocations: 153 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.3112, allocations: 97.06 kB / 0.5583 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3113, allocations: 11.94 kB / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.3114, allocations: 4 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.3114, allocations: 7.984 kB / 0.5583 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3114, allocations: 4 kB / 0.5583 GB, free: 3.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.727e-05/0.3115, allocations: 136.1 kB / 0.5584 GB, free: 3.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.3117, allocations: 31.97 kB / 0.5585 GB, free: 3.406 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.0005297/0.3123, allocations: 322.8 kB / 0.5588 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.3124, allocations: 71.86 kB / 0.5588 GB, free: 3.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3124, allocations: 0 / 0.5588 GB, free: 3.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.3125, allocations: 35.94 kB / 0.5589 GB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3127, allocations: 31.45 kB / 0.5589 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.3131, allocations: 180 kB / 0.5591 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.3133, allocations: 0.7391 MB / 0.5598 GB, free: 2.016 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3133, allocations: 0 / 0.5598 GB, free: 2.016 MB / 394.7 MB Notification: Performance of Templates: time 0.003735/0.3171, allocations: 1.78 MB / 0.5615 GB, free: 248 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches