Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [: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.001097/0.001097, allocations: 190.4 kB / 7.802 MB, free: 2.5 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.267/1.267, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009015/0.0009016, allocations: 90.45 kB / 261.4 MB, free: 13.49 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.1826/0.1826, allocations: 43.49 MB / 352.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2061/0.3888, allocations: 64.97 MB / 417.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.6697, allocations: 58.85 MB / 476.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.7935, allocations: 86.59 MB / 0.55 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.7938, allocations: 75.95 kB / 0.5501 GB, free: 12.1 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01182/0.8056, allocations: 4.102 MB / 0.5541 GB, free: 7.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.8057, allocations: 8 kB / 0.5541 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.8058, allocations: 11.91 kB / 0.5541 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.806, allocations: 202.2 kB / 0.5543 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.8061, allocations: 4 kB / 0.5543 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.8061, allocations: 7.906 kB / 0.5543 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/0.8062, allocations: 32 kB / 0.5544 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.8063, allocations: 67.39 kB / 0.5544 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.8064, allocations: 3.984 kB / 0.5544 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.8064, allocations: 0 / 0.5544 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.8064, allocations: 0 / 0.5544 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.807, allocations: 337.2 kB / 0.5548 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.8071, allocations: 37.7 kB / 0.5548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.8072, allocations: 16.98 kB / 0.5548 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.8072, allocations: 0 / 0.5548 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.8073, allocations: 42.5 kB / 0.5549 GB, free: 7.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.8073, allocations: 0 / 0.5549 GB, free: 7.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009375/0.8082, allocations: 241.1 kB / 0.5551 GB, free: 6.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.8083, allocations: 77.11 kB / 0.5552 GB, free: 6.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.8085, allocations: 134.9 kB / 0.5553 GB, free: 6.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.8085, allocations: 25.7 kB / 0.5553 GB, free: 6.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.8086, allocations: 96.03 kB / 0.5554 GB, free: 6.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.8086, allocations: 15.66 kB / 0.5554 GB, free: 6.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.8087, allocations: 0 / 0.5554 GB, free: 6.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8088, allocations: 330.8 kB / 0.5557 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.8089, allocations: 27.98 kB / 0.5558 GB, free: 6.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.8089, allocations: 37.72 kB / 0.5558 GB, free: 6.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.809, allocations: 28.14 kB / 0.5558 GB, free: 6.039 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.809, allocations: 0 / 0.5558 GB, free: 6.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001963/0.8092, allocations: 109.5 kB / 0.5559 GB, free: 5.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.8092, allocations: 4 kB / 0.5559 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.8092, allocations: 0 / 0.5559 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8093, allocations: 4.031 kB / 0.5559 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.8095, allocations: 51.95 kB / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8096, allocations: 320 / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.8098, allocations: 39.97 kB / 0.556 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.8098, allocations: 0 / 0.556 GB, free: 5.828 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.097e-05/0.8099, allocations: 110.3 kB / 0.5561 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.8099, allocations: 7.906 kB / 0.5561 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.8102, allocations: 122.1 kB / 0.5563 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.8102, allocations: 4 kB / 0.5563 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8102, allocations: 0 / 0.5563 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8102, allocations: 0 / 0.5563 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.8107, allocations: 379 kB / 0.5566 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8107, allocations: 0 / 0.5566 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.8109, allocations: 51.91 kB / 0.5567 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8109, allocations: 0 / 0.5567 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.8109, allocations: 0 / 0.5567 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.8109, allocations: 192 / 0.5567 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.811, allocations: 15.92 kB / 0.5567 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002179/0.8112, allocations: 195.4 kB / 0.5569 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003489/0.8115, allocations: 0.5781 MB / 0.5574 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.8116, allocations: 88.95 kB / 0.5575 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.8117, allocations: 3.938 kB / 0.5575 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.8119, allocations: 47.95 kB / 0.5576 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.812, allocations: 11.98 kB / 0.5576 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.812, allocations: 0 / 0.5576 GB, free: 4.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.737e-05/0.8121, allocations: 112.6 kB / 0.5577 GB, free: 4.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009721/0.8131, allocations: 51.83 kB / 0.5577 GB, free: 3.965 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0007354/0.8138, allocations: 335.8 kB / 0.5581 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.814, allocations: 67.92 kB / 0.5581 GB, free: 3.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.814, allocations: 0 / 0.5581 GB, free: 3.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.8141, allocations: 36 kB / 0.5582 GB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.8143, allocations: 20.23 kB / 0.5582 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.8148, allocations: 155.2 kB / 0.5583 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.8152, allocations: 0.7309 MB / 0.559 GB, free: 2.621 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.8152, allocations: 0 / 0.559 GB, free: 2.621 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat