Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",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.0009662/0.0009663, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.105/1.105, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008206/0.0008207, allocations: 92.81 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1563/0.1563, allocations: 45.16 MB / 383.4 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1913/0.3476, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08143/0.4291, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.6684, allocations: 89.77 MB / 0.5915 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.6687, allocations: 77.39 kB / 0.5916 GB, free: 13.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01649/0.6852, allocations: 6.641 MB / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.6852, allocations: 8 kB / 0.5981 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.6853, allocations: 15.81 kB / 0.5981 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.6856, allocations: 223.5 kB / 0.5983 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.6856, allocations: 3.938 kB / 0.5983 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.6856, allocations: 4 kB / 0.5983 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.913e-05/0.6857, allocations: 15.86 kB / 0.5984 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.6857, allocations: 44.5 kB / 0.5984 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.6857, allocations: 4 kB / 0.5984 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.6858, allocations: 3.984 kB / 0.5984 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6858, allocations: 4 kB / 0.5984 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.6859, allocations: 176.2 kB / 0.5986 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.686, allocations: 48.12 kB / 0.5986 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.6861, allocations: 19.42 kB / 0.5986 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.6861, allocations: 4 kB / 0.5987 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.563e-05/0.6862, allocations: 62.17 kB / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.6862, allocations: 0 / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001603/0.6863, allocations: 70.31 kB / 0.5988 GB, free: 6.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.6864, allocations: 51.44 kB / 0.5988 GB, free: 6.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.6866, allocations: 233.5 kB / 0.599 GB, free: 6.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.6866, allocations: 25.7 kB / 0.5991 GB, free: 6.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.6867, allocations: 106.2 kB / 0.5992 GB, free: 6.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.6867, allocations: 15.73 kB / 0.5992 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.6867, allocations: 0 / 0.5992 GB, free: 6.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.6868, allocations: 328.8 kB / 0.5995 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.6868, allocations: 14.5 kB / 0.5995 GB, free: 5.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.6869, allocations: 26.09 kB / 0.5995 GB, free: 5.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.6869, allocations: 19.17 kB / 0.5996 GB, free: 5.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6869, allocations: 0 / 0.5996 GB, free: 5.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001166/0.687, allocations: 82.5 kB / 0.5996 GB, free: 5.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.6871, allocations: 4 kB / 0.5996 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6871, allocations: 0 / 0.5996 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.6871, allocations: 3.938 kB / 0.5996 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.6872, allocations: 19.92 kB / 0.5997 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.6872, allocations: 128 / 0.5997 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.6872, allocations: 11.91 kB / 0.5997 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.6872, allocations: 0 / 0.5997 GB, free: 5.805 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 (7): * Single equations (assignments): 7 * 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 5.658e-05/0.6873, allocations: 109 kB / 0.5998 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.6873, allocations: 11.81 kB / 0.5998 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.6875, allocations: 91.19 kB / 0.5999 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.6875, allocations: 0 / 0.5999 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6875, allocations: 0 / 0.5999 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6875, allocations: 0 / 0.5999 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.6876, allocations: 185.5 kB / 0.6001 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6877, allocations: 3.938 kB / 0.6001 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.6877, allocations: 4 kB / 0.6001 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6877, allocations: 0 / 0.6001 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.6877, allocations: 7.984 kB / 0.6001 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6877, allocations: 4 kB / 0.6001 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6877, allocations: 0 / 0.6001 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001178/0.6878, allocations: 99.47 kB / 0.6002 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001993/0.6881, allocations: 489.8 kB / 0.6006 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.6881, allocations: 108.6 kB / 0.6007 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.6882, allocations: 0 / 0.6007 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.6882, allocations: 4 kB / 0.6007 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.6882, allocations: 0 / 0.6007 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.6883, allocations: 12.08 kB / 0.6008 GB, free: 4.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001445/0.6884, allocations: 192 kB / 0.6009 GB, free: 4.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000769/0.6892, allocations: 33.88 kB / 0.601 GB, free: 4.469 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: 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 (6): * Single equations (assignments): 4 * 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.0005691/0.6898, allocations: 317.1 kB / 0.6013 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.753e-05/0.6899, allocations: 41.05 kB / 0.6013 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.6899, allocations: 0 / 0.6013 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.6899, allocations: 22.5 kB / 0.6013 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.6902, allocations: 23.23 kB / 0.6014 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.6906, allocations: 206.7 kB / 0.6016 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.6909, allocations: 0.745 MB / 0.6023 GB, free: 3.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/0.6909, allocations: 0 / 0.6023 GB, free: 3.18 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat