Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",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 trunk/package.mo): time 0.001016/0.001016, allocations: 202.3 kB / 8.541 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.065/1.065, allocations: 225.5 MB / 234.4 MB, free: 14.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008323/0.0008323, allocations: 91.73 kB / 286.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2491/0.2491, allocations: 45.15 MB / 383.3 MB, free: 40.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09975/0.3489, allocations: 69.38 MB / 452.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.5874, allocations: 63.24 MB / 0.5039 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08968/0.6772, allocations: 89.92 MB / 0.5917 GB, free: 4.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.6774, allocations: 79.95 kB / 0.5918 GB, free: 4.352 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01654/0.694, allocations: 6.433 MB / 0.598 GB, free: 13.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.694, allocations: 15.98 kB / 0.5981 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.6941, allocations: 11.81 kB / 0.5981 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.6943, allocations: 228 kB / 0.5983 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.6944, allocations: 0 / 0.5983 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.6944, allocations: 4 kB / 0.5983 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.07e-05/0.6945, allocations: 15.98 kB / 0.5983 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.785e-05/0.6945, allocations: 49.69 kB / 0.5983 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6946, allocations: 0 / 0.5983 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.6946, allocations: 4 kB / 0.5984 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6946, allocations: 0 / 0.5984 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.6949, allocations: 273.4 kB / 0.5986 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.695, allocations: 54.62 kB / 0.5987 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.695, allocations: 20.98 kB / 0.5987 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.6951, allocations: 0 / 0.5987 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.079e-05/0.6951, allocations: 67.44 kB / 0.5988 GB, free: 13.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.437e-06/0.6952, allocations: 0 / 0.5988 GB, free: 13.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003569/0.6955, allocations: 141 kB / 0.5989 GB, free: 12.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.6956, allocations: 55.41 kB / 0.5989 GB, free: 12.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.6957, allocations: 189.5 kB / 0.5991 GB, free: 12.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.6957, allocations: 29.7 kB / 0.5991 GB, free: 12.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.6958, allocations: 92.12 kB / 0.5992 GB, free: 12.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.6958, allocations: 23.7 kB / 0.5993 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.6958, allocations: 0 / 0.5993 GB, free: 12.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.6959, allocations: 330.7 kB / 0.5996 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.6959, allocations: 12 kB / 0.5996 GB, free: 12.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.696, allocations: 33.72 kB / 0.5996 GB, free: 12.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.6961, allocations: 27.97 kB / 0.5996 GB, free: 12.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.6961, allocations: 0 / 0.5996 GB, free: 12.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001393/0.6962, allocations: 89.53 kB / 0.5997 GB, free: 11.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.026e-06/0.6962, allocations: 4 kB / 0.5997 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.6962, allocations: 7.906 kB / 0.5997 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.6962, allocations: 0 / 0.5997 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.6963, allocations: 19.98 kB / 0.5998 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.6963, allocations: 0 / 0.5998 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.6964, allocations: 4 kB / 0.5998 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6964, allocations: 7.984 kB / 0.5998 GB, free: 11.95 MB / 426.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 (10): * Single equations (assignments): 10 * 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.926e-05/0.6965, allocations: 116.9 kB / 0.5999 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.6965, allocations: 15.81 kB / 0.5999 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.6967, allocations: 103.2 kB / 0.6 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.6967, allocations: 0 / 0.6 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6967, allocations: 0 / 0.6 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6967, allocations: 3.984 kB / 0.6 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.6971, allocations: 379.8 kB / 0.6004 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6971, allocations: 7.984 kB / 0.6004 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.6972, allocations: 8 kB / 0.6004 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6972, allocations: 0 / 0.6004 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.6972, allocations: 0 / 0.6004 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6972, allocations: 7.906 kB / 0.6004 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6972, allocations: 0 / 0.6004 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001755/0.6974, allocations: 214.1 kB / 0.6006 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000273/0.6977, allocations: 0.5725 MB / 0.6011 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.6977, allocations: 100.9 kB / 0.6012 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.6978, allocations: 3.938 kB / 0.6012 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.6979, allocations: 8 kB / 0.6013 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.6979, allocations: 3.984 kB / 0.6013 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.6979, allocations: 4.188 kB / 0.6013 GB, free: 10.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001148/0.6981, allocations: 153.6 kB / 0.6014 GB, free: 10.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000838/0.6989, allocations: 31.91 kB / 0.6014 GB, free: 10.11 MB / 426.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 (9): * Single equations (assignments): 7 * 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.0006038/0.6995, allocations: 347.3 kB / 0.6018 GB, free: 9.855 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.6996, allocations: 47.94 kB / 0.6018 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.6996, allocations: 0 / 0.6018 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.94e-05/0.6997, allocations: 31.94 kB / 0.6018 GB, free: 9.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.6999, allocations: 23.97 kB / 0.6019 GB, free: 9.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.7003, allocations: 186 kB / 0.602 GB, free: 9.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.7005, allocations: 0.727 MB / 0.6028 GB, free: 8.785 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7006, allocations: 0 / 0.6028 GB, free: 8.785 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat