Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",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.0009918/0.0009918, allocations: 206.7 kB / 8.544 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.076/1.076, allocations: 225.5 MB / 234.4 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008487/0.0008487, allocations: 92.56 kB / 286.4 MB, free: 12.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 45.15 MB / 383.3 MB, free: 40.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09683/0.3444, allocations: 69.38 MB / 452.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.5758, allocations: 63.24 MB / 0.5039 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08788/0.6637, allocations: 89.96 MB / 0.5917 GB, free: 4.395 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.6639, allocations: 75.95 kB / 0.5918 GB, free: 4.32 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.01692/0.6808, allocations: 6.563 MB / 0.5982 GB, free: 13.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.6809, allocations: 8 kB / 0.5982 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.6809, allocations: 19.75 kB / 0.5982 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.6812, allocations: 216 kB / 0.5984 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6813, allocations: 4 kB / 0.5984 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.6813, allocations: 0 / 0.5984 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.596e-05/0.6814, allocations: 19.98 kB / 0.5985 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.6814, allocations: 53.67 kB / 0.5985 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6815, allocations: 0 / 0.5985 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.6815, allocations: 7.984 kB / 0.5985 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.6815, allocations: 0 / 0.5985 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.6818, allocations: 273.4 kB / 0.5988 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.438e-05/0.6819, allocations: 50.69 kB / 0.5988 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.682, allocations: 20.98 kB / 0.5989 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.682, allocations: 4 kB / 0.5989 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.418e-05/0.6821, allocations: 63.39 kB / 0.5989 GB, free: 12.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.6821, allocations: 0 / 0.5989 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003666/0.6824, allocations: 153 kB / 0.5991 GB, free: 12.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.6825, allocations: 51.41 kB / 0.5991 GB, free: 12.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.6827, allocations: 185.6 kB / 0.5993 GB, free: 12.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.6827, allocations: 25.7 kB / 0.5993 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.6827, allocations: 92.14 kB / 0.5994 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.6828, allocations: 23.7 kB / 0.5994 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.6828, allocations: 4 kB / 0.5994 GB, free: 12.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6829, allocations: 322.7 kB / 0.5997 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.6829, allocations: 20 kB / 0.5998 GB, free: 11.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.683, allocations: 37.64 kB / 0.5998 GB, free: 11.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.245e-05/0.683, allocations: 20.19 kB / 0.5998 GB, free: 11.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.683, allocations: 0 / 0.5998 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001587/0.6832, allocations: 97.52 kB / 0.5999 GB, free: 11.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.6832, allocations: 4 kB / 0.5999 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6832, allocations: 3.906 kB / 0.5999 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.557e-06/0.6832, allocations: 0 / 0.5999 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.6833, allocations: 19.94 kB / 0.5999 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.6834, allocations: 3.984 kB / 0.5999 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.6834, allocations: 4 kB / 0.5999 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.6834, allocations: 0 / 0.5999 GB, free: 11.79 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.879e-05/0.6835, allocations: 113 kB / 0.6 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.6835, allocations: 11.81 kB / 0.6001 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.6837, allocations: 111.1 kB / 0.6002 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6837, allocations: 4 kB / 0.6002 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6837, allocations: 0 / 0.6002 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6837, allocations: 0 / 0.6002 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.6841, allocations: 375.8 kB / 0.6005 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6841, allocations: 0 / 0.6005 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.6842, allocations: 12.03 kB / 0.6005 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6842, allocations: 4 kB / 0.6005 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6842, allocations: 3.984 kB / 0.6005 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.6842, allocations: 3.906 kB / 0.6005 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6842, allocations: 0 / 0.6005 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001774/0.6844, allocations: 205.9 kB / 0.6007 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000279/0.6847, allocations: 0.5842 MB / 0.6013 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.6848, allocations: 88.92 kB / 0.6014 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.6848, allocations: 8.219 kB / 0.6014 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.6849, allocations: 3.984 kB / 0.6014 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.6849, allocations: 12.19 kB / 0.6014 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.6849, allocations: 11.94 kB / 0.6014 GB, free: 10.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001254/0.6851, allocations: 149.6 kB / 0.6016 GB, free: 9.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008595/0.6859, allocations: 39.89 kB / 0.6016 GB, free: 9.941 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.0006277/0.6866, allocations: 340.4 kB / 0.6019 GB, free: 9.699 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.6867, allocations: 51.98 kB / 0.602 GB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.6867, allocations: 0 / 0.602 GB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.232e-05/0.6868, allocations: 31.94 kB / 0.602 GB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.687, allocations: 24.36 kB / 0.602 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.6874, allocations: 174 kB / 0.6022 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.6877, allocations: 0.7387 MB / 0.6029 GB, free: 8.625 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6877, allocations: 0 / 0.6029 GB, free: 8.625 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat