Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_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.0009801/0.0009801, allocations: 187 kB / 7.803 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.212/1.212, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009122/0.0009124, allocations: 86.55 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.1688/0.1688, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.349, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.6069, allocations: 58.85 MB / 476.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.7259, allocations: 87 MB / 0.5504 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.7262, allocations: 71.95 kB / 0.5505 GB, free: 11.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01527/0.7414, allocations: 5.226 MB / 0.5556 GB, free: 6.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.7415, allocations: 12 kB / 0.5556 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.7416, allocations: 7.906 kB / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.7419, allocations: 206.4 kB / 0.5558 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.7419, allocations: 0 / 0.5558 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.7419, allocations: 7.906 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.017e-05/0.742, allocations: 19.98 kB / 0.5559 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.7421, allocations: 79.31 kB / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7421, allocations: 4 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7422, allocations: 4 kB / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.7422, allocations: 4 kB / 0.556 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.7425, allocations: 257.4 kB / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.884e-05/0.7426, allocations: 45.7 kB / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.7427, allocations: 16.98 kB / 0.5563 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.7427, allocations: 11.98 kB / 0.5563 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.295e-05/0.7428, allocations: 63.34 kB / 0.5563 GB, free: 5.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 4.379e-06/0.7428, allocations: 0 / 0.5563 GB, free: 5.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000407/0.7432, allocations: 145.2 kB / 0.5565 GB, free: 5.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.7433, allocations: 77.11 kB / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.7434, allocations: 137 kB / 0.5567 GB, free: 5.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.7434, allocations: 29.7 kB / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.7435, allocations: 84.14 kB / 0.5568 GB, free: 5.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.7435, allocations: 31.64 kB / 0.5568 GB, free: 5.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.7435, allocations: 0 / 0.5568 GB, free: 5.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7436, allocations: 326.7 kB / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.7437, allocations: 20 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.7437, allocations: 38.56 kB / 0.5572 GB, free: 4.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.7438, allocations: 24.03 kB / 0.5572 GB, free: 4.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.7438, allocations: 0 / 0.5572 GB, free: 4.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001558/0.744, allocations: 105.5 kB / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.744, allocations: 4 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.744, allocations: 0 / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.744, allocations: 0 / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.7441, allocations: 23.92 kB / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.7441, allocations: 0 / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.7442, allocations: 4 kB / 0.5573 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.7442, allocations: 4 kB / 0.5573 GB, free: 4.734 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 (11): * Single equations (assignments): 11 * 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 7.665e-05/0.7443, allocations: 110.3 kB / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.7443, allocations: 11.91 kB / 0.5575 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.7446, allocations: 110.3 kB / 0.5576 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7446, allocations: 0 / 0.5576 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.7446, allocations: 4 kB / 0.5576 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7446, allocations: 3.906 kB / 0.5576 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.745, allocations: 359.9 kB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.745, allocations: 4.031 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.745, allocations: 23.83 kB / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.745, allocations: 0 / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.7451, allocations: 7.938 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7451, allocations: 0 / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7451, allocations: 288 / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001923/0.7453, allocations: 217.8 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003736/0.7456, allocations: 0.5726 MB / 0.5587 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.7457, allocations: 96.94 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.7457, allocations: 0 / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.7458, allocations: 4 kB / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.7459, allocations: 11.98 kB / 0.5588 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.7459, allocations: 8 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.071e-05/0.746, allocations: 123 kB / 0.5589 GB, free: 2.953 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008708/0.7469, allocations: 51.83 kB / 0.559 GB, free: 2.902 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 (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.0009337/0.7478, allocations: 386.7 kB / 0.5594 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.748, allocations: 55.94 kB / 0.5594 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.748, allocations: 0 / 0.5594 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.7481, allocations: 36 kB / 0.5594 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.7483, allocations: 31.83 kB / 0.5595 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.7487, allocations: 128.1 kB / 0.5596 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.749, allocations: 0.7386 MB / 0.5603 GB, free: 1.52 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.749, allocations: 4.062 kB / 0.5603 GB, free: 1.516 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat does not exist to compare? outputFormat=mat