Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",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.001121/0.001121, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.089/1.089, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008476/0.0008475, allocations: 96.98 kB / 286.3 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1564/0.1564, allocations: 45.13 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1827/0.3391, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08021/0.4193, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.6587, allocations: 90.22 MB / 0.592 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.6589, allocations: 77.39 kB / 0.592 GB, free: 12.57 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0227/0.6817, allocations: 9.174 MB / 0.601 GB, free: 4.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.6817, allocations: 8 kB / 0.601 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.6818, allocations: 27.62 kB / 0.601 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.6822, allocations: 300.8 kB / 0.6013 GB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.6822, allocations: 11.91 kB / 0.6013 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.6823, allocations: 4 kB / 0.6013 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001006/0.6824, allocations: 42.23 kB / 0.6014 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.6825, allocations: 101.2 kB / 0.6015 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6826, allocations: 0 / 0.6015 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6826, allocations: 7.984 kB / 0.6015 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6826, allocations: 0 / 0.6015 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.6831, allocations: 459.5 kB / 0.6019 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.6834, allocations: 91.64 kB / 0.602 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.6834, allocations: 47.16 kB / 0.6021 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.6834, allocations: 0 / 0.6021 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.6836, allocations: 101.9 kB / 0.6022 GB, free: 3.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.6836, allocations: 3.938 kB / 0.6022 GB, free: 3.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.000759/0.6844, allocations: 367.6 kB / 0.6025 GB, free: 3.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.6844, allocations: 81.67 kB / 0.6026 GB, free: 3.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.6847, allocations: 323.8 kB / 0.6029 GB, free: 3.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.6847, allocations: 25.7 kB / 0.6029 GB, free: 3.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.6848, allocations: 110.9 kB / 0.603 GB, free: 2.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.6849, allocations: 66 kB / 0.6031 GB, free: 2.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.6849, allocations: 3.938 kB / 0.6031 GB, free: 2.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.685, allocations: 344 kB / 0.6034 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.685, allocations: 53.86 kB / 0.6035 GB, free: 2.496 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.6851, allocations: 89.36 kB / 0.6036 GB, free: 2.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.6852, allocations: 51.92 kB / 0.6036 GB, free: 2.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6853, allocations: 0 / 0.6036 GB, free: 2.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002936/0.6856, allocations: 211.2 kB / 0.6038 GB, free: 2.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.6856, allocations: 4 kB / 0.6038 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6856, allocations: 7.984 kB / 0.6038 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.6856, allocations: 0 / 0.6038 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.6858, allocations: 47.55 kB / 0.6039 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6858, allocations: 0 / 0.6039 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.6859, allocations: 15.83 kB / 0.6039 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.6859, allocations: 8 kB / 0.6039 GB, free: 2.141 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.362e-05/0.686, allocations: 109 kB / 0.604 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.686, allocations: 31.62 kB / 0.604 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.6864, allocations: 245.3 kB / 0.6043 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6864, allocations: 4 kB / 0.6043 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6864, allocations: 0 / 0.6043 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6865, allocations: 0 / 0.6043 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.6872, allocations: 0.6997 MB / 0.6049 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.6872, allocations: 4 kB / 0.6049 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.6873, allocations: 35.83 kB / 0.605 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.6873, allocations: 4 kB / 0.605 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.6873, allocations: 7.75 kB / 0.605 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6873, allocations: 0 / 0.605 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6874, allocations: 8 kB / 0.605 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000349/0.6877, allocations: 456.1 kB / 0.6054 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004299/0.6881, allocations: 0.8243 MB / 0.6062 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.6882, allocations: 116 kB / 0.6064 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.6883, allocations: 11.38 kB / 0.6064 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.6885, allocations: 7.984 kB / 0.6064 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.6885, allocations: 23.42 kB / 0.6064 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.6885, allocations: 15.89 kB / 0.6064 GB, free: 15.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002171/0.6888, allocations: 261.8 kB / 0.6067 GB, free: 15.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009507/0.6897, allocations: 59.38 kB / 0.6067 GB, free: 15.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006836/0.6904, allocations: 394.8 kB / 0.6071 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.6906, allocations: 141.7 kB / 0.6072 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6907, allocations: 0 / 0.6072 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.6908, allocations: 83.23 kB / 0.6073 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.6912, allocations: 49.52 kB / 0.6074 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.6918, allocations: 400 kB / 0.6077 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/0.6922, allocations: 0.8083 MB / 0.6085 GB, free: 13.63 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6922, allocations: 0 / 0.6085 GB, free: 13.63 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat