Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",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.001077/0.001077, allocations: 199.7 kB / 8.538 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.078/1.078, allocations: 225.5 MB / 234.4 MB, free: 3.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008447/0.0008447, allocations: 98.47 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1512/0.1512, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1797/0.3309, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.4071, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.6398, allocations: 91.64 MB / 0.5934 GB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.6401, allocations: 73.16 kB / 0.5934 GB, free: 11.2 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01544/0.6555, allocations: 5.983 MB / 0.5993 GB, free: 6.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.6555, allocations: 8 kB / 0.5993 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.6556, allocations: 26.41 kB / 0.5993 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.656, allocations: 253.3 kB / 0.5995 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.656, allocations: 4 kB / 0.5995 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.656, allocations: 7.906 kB / 0.5996 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001216/0.6561, allocations: 45.94 kB / 0.5996 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.6563, allocations: 114.5 kB / 0.5997 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.6563, allocations: 4 kB / 0.5997 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.6564, allocations: 0 / 0.5997 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.6564, allocations: 3.938 kB / 0.5997 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.6571, allocations: 0.5666 MB / 0.6003 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.6573, allocations: 98.23 kB / 0.6004 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.6574, allocations: 43.3 kB / 0.6004 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.6574, allocations: 0 / 0.6004 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.6576, allocations: 95.16 kB / 0.6005 GB, free: 4.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.6576, allocations: 0 / 0.6005 GB, free: 4.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002384/0.6578, allocations: 120.3 kB / 0.6006 GB, free: 4.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.6578, allocations: 59.53 kB / 0.6007 GB, free: 4.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.658, allocations: 197.4 kB / 0.6009 GB, free: 4.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.6581, allocations: 25.7 kB / 0.6009 GB, free: 4.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.6581, allocations: 107.2 kB / 0.601 GB, free: 4.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.6581, allocations: 33.81 kB / 0.601 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.6582, allocations: 0 / 0.601 GB, free: 4.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.6583, allocations: 332.9 kB / 0.6013 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.6583, allocations: 42.5 kB / 0.6014 GB, free: 4.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.6584, allocations: 76.42 kB / 0.6014 GB, free: 3.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.884e-05/0.6585, allocations: 28.42 kB / 0.6015 GB, free: 3.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6585, allocations: 4 kB / 0.6015 GB, free: 3.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002559/0.6588, allocations: 160.8 kB / 0.6016 GB, free: 3.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.6588, allocations: 4 kB / 0.6016 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6588, allocations: 4 kB / 0.6016 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.6588, allocations: 0 / 0.6016 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.659, allocations: 47.22 kB / 0.6017 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.659, allocations: 7.938 kB / 0.6017 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.6592, allocations: 39.81 kB / 0.6017 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6593, allocations: 4 kB / 0.6017 GB, free: 3.715 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.183e-05/0.6593, allocations: 118.4 kB / 0.6018 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.6594, allocations: 23.72 kB / 0.6019 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.6596, allocations: 125.2 kB / 0.602 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.6596, allocations: 0 / 0.602 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6596, allocations: 3.984 kB / 0.602 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6596, allocations: 0 / 0.602 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.6598, allocations: 223.2 kB / 0.6022 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6598, allocations: 0 / 0.6022 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.66, allocations: 35.91 kB / 0.6022 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.66, allocations: 0 / 0.6022 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.66, allocations: 11.98 kB / 0.6022 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.66, allocations: 0 / 0.6022 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.66, allocations: 0 / 0.6022 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002996/0.6603, allocations: 216.2 kB / 0.6025 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004327/0.6608, allocations: 0.6267 MB / 0.6031 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.6609, allocations: 104.5 kB / 0.6032 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.6609, allocations: 4 kB / 0.6032 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.6611, allocations: 31.97 kB / 0.6032 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.6612, allocations: 15.47 kB / 0.6032 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.6612, allocations: 4 kB / 0.6032 GB, free: 2.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001197/0.6613, allocations: 173.2 kB / 0.6034 GB, free: 2.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008136/0.6621, allocations: 50.78 kB / 0.6034 GB, free: 2.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.000552/0.6627, allocations: 304.9 kB / 0.6037 GB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.6629, allocations: 125.6 kB / 0.6038 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6629, allocations: 0 / 0.6038 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.015e-05/0.663, allocations: 51.92 kB / 0.6039 GB, free: 1.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.6633, allocations: 39.75 kB / 0.6039 GB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.6638, allocations: 237 kB / 0.6042 GB, free: 1.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.6641, allocations: 0.7567 MB / 0.6049 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6642, allocations: 0 / 0.6049 GB, free: 0.6641 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat