Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",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.001705/0.001705, allocations: 209.3 kB / 8.545 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.134/1.134, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008256/0.0008256, allocations: 95.06 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1659/0.1659, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1977/0.3637, allocations: 69.36 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08155/0.4453, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/0.7068, allocations: 90.69 MB / 0.5924 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/0.707, allocations: 63.78 kB / 0.5925 GB, free: 12.19 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.04108/0.7481, allocations: 14.79 MB / 0.6069 GB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.7481, allocations: 8 kB / 0.6069 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.7483, allocations: 55.34 kB / 0.607 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.7494, allocations: 0.5134 MB / 0.6075 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.7494, allocations: 15.81 kB / 0.6075 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.7495, allocations: 8 kB / 0.6075 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002308/0.7497, allocations: 100.1 kB / 0.6076 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.7501, allocations: 245.1 kB / 0.6078 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7501, allocations: 0 / 0.6078 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.7501, allocations: 4 kB / 0.6078 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.7501, allocations: 4 kB / 0.6079 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.7514, allocations: 0.903 MB / 0.6087 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.7517, allocations: 276.3 kB / 0.609 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.7519, allocations: 96.92 kB / 0.6091 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.7519, allocations: 4 kB / 0.6091 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.7522, allocations: 200.8 kB / 0.6093 GB, free: 13.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.023e-06/0.7522, allocations: 0 / 0.6093 GB, free: 13.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005205/0.7527, allocations: 261.7 kB / 0.6095 GB, free: 13.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.7529, allocations: 353.6 kB / 0.6099 GB, free: 12.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.7536, allocations: 0.5748 MB / 0.6104 GB, free: 12.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.7537, allocations: 29.7 kB / 0.6105 GB, free: 12.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.7538, allocations: 141.2 kB / 0.6106 GB, free: 12.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.7539, allocations: 66.12 kB / 0.6107 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.7539, allocations: 0 / 0.6107 GB, free: 12.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7541, allocations: 366.8 kB / 0.611 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.7542, allocations: 73.17 kB / 0.6111 GB, free: 11.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.7544, allocations: 253.1 kB / 0.6113 GB, free: 11.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.7546, allocations: 95.52 kB / 0.6114 GB, free: 11.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7546, allocations: 4 kB / 0.6114 GB, free: 11.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004631/0.7551, allocations: 295.4 kB / 0.6117 GB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7551, allocations: 4 kB / 0.6117 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7551, allocations: 7.938 kB / 0.6117 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7551, allocations: 0 / 0.6117 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.7554, allocations: 63.27 kB / 0.6118 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.7554, allocations: 4 kB / 0.6118 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.7557, allocations: 27.73 kB / 0.6118 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.7557, allocations: 15.5 kB / 0.6118 GB, free: 11.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 0.0001235/0.7558, allocations: 128.2 kB / 0.6119 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.7559, allocations: 55.34 kB / 0.612 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.7565, allocations: 314.8 kB / 0.6123 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7565, allocations: 8 kB / 0.6123 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7565, allocations: 4 kB / 0.6123 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.7565, allocations: 0 / 0.6123 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.7569, allocations: 414.8 kB / 0.6127 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.757, allocations: 4.25 kB / 0.6127 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.7571, allocations: 39.72 kB / 0.6127 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.7571, allocations: 7.938 kB / 0.6127 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.7572, allocations: 7.984 kB / 0.6128 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7572, allocations: 4 kB / 0.6128 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7572, allocations: 0 / 0.6128 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004766/0.7577, allocations: 369.8 kB / 0.6131 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005791/0.7582, allocations: 0.7418 MB / 0.6138 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.7584, allocations: 157.5 kB / 0.614 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.7585, allocations: 19.33 kB / 0.614 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.7587, allocations: 15.98 kB / 0.614 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.7588, allocations: 34.14 kB / 0.614 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.7589, allocations: 19.42 kB / 0.6141 GB, free: 9.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00051/0.7594, allocations: 459.5 kB / 0.6145 GB, free: 8.762 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00111/0.7605, allocations: 125.1 kB / 0.6146 GB, free: 8.652 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008085/0.7613, allocations: 366.9 kB / 0.615 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.7617, allocations: 242 kB / 0.6152 GB, free: 8.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7618, allocations: 4 kB / 0.6152 GB, free: 8.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.762, allocations: 175.9 kB / 0.6154 GB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.7626, allocations: 115.1 kB / 0.6155 GB, free: 7.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.7639, allocations: 0.6418 MB / 0.6161 GB, free: 7.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/0.7644, allocations: 0.9203 MB / 0.617 GB, free: 6.457 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7645, allocations: 3.938 kB / 0.617 GB, free: 6.453 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat