Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",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.0009945/0.0009945, allocations: 208 kB / 8.538 MB, free: 2.648 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.064/1.064, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008371/0.0008371, allocations: 92.86 kB / 286.4 MB, free: 0.5078 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 45.14 MB / 383.3 MB, free: 43.04 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.09872/0.3459, allocations: 69.38 MB / 452.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.5798, allocations: 63.24 MB / 0.5039 GB, free: 41.31 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08726/0.6671, allocations: 90.64 MB / 0.5924 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.6673, allocations: 72.5 kB / 0.5925 GB, free: 7.262 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03462/0.702, allocations: 13.91 MB / 0.606 GB, free: 9.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.702, allocations: 8 kB / 0.606 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.7021, allocations: 63.25 kB / 0.6061 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.7028, allocations: 451.6 kB / 0.6065 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.7029, allocations: 7.984 kB / 0.6065 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.7029, allocations: 12 kB / 0.6065 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001617/0.7031, allocations: 85.2 kB / 0.6066 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.7033, allocations: 184.9 kB / 0.6068 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7033, allocations: 0 / 0.6068 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.7034, allocations: 7.984 kB / 0.6068 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7034, allocations: 0 / 0.6068 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.7042, allocations: 0.8099 MB / 0.6076 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.7046, allocations: 179.1 kB / 0.6078 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.7047, allocations: 79.55 kB / 0.6079 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.7047, allocations: 4 kB / 0.6079 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.7049, allocations: 178.5 kB / 0.608 GB, free: 7.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.7049, allocations: 3.938 kB / 0.608 GB, free: 7.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.00137/0.7063, allocations: 0.8784 MB / 0.6089 GB, free: 6.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.7064, allocations: 136.5 kB / 0.609 GB, free: 6.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/0.7071, allocations: 0.6752 MB / 0.6097 GB, free: 5.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.7071, allocations: 33.69 kB / 0.6097 GB, free: 5.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.7072, allocations: 152.9 kB / 0.6099 GB, free: 5.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.7073, allocations: 130.1 kB / 0.61 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.7073, allocations: 0 / 0.61 GB, free: 5.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7074, allocations: 378.8 kB / 0.6103 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.7076, allocations: 100.9 kB / 0.6104 GB, free: 4.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.7078, allocations: 162.4 kB / 0.6106 GB, free: 4.391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.708, allocations: 130.1 kB / 0.6107 GB, free: 4.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.708, allocations: 0 / 0.6107 GB, free: 4.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005249/0.7085, allocations: 390 kB / 0.6111 GB, free: 3.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.7085, allocations: 4 kB / 0.6111 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7085, allocations: 8.125 kB / 0.6111 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7086, allocations: 4 kB / 0.6111 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.7088, allocations: 87.89 kB / 0.6112 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7089, allocations: 7.938 kB / 0.6112 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.709, allocations: 11.98 kB / 0.6112 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.7091, allocations: 20 kB / 0.6112 GB, free: 3.738 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 8.476e-05/0.7092, allocations: 111.4 kB / 0.6113 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.7093, allocations: 75.14 kB / 0.6114 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007235/0.71, allocations: 460.9 kB / 0.6118 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.71, allocations: 4 kB / 0.6118 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.71, allocations: 3.984 kB / 0.6119 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.71, allocations: 7.984 kB / 0.6119 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.7114, allocations: 1.303 MB / 0.6131 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7114, allocations: 0 / 0.6131 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.7116, allocations: 63.86 kB / 0.6132 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.7116, allocations: 8 kB / 0.6132 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.7117, allocations: 15.98 kB / 0.6132 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.7117, allocations: 4 kB / 0.6132 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7117, allocations: 4 kB / 0.6132 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006504/0.7123, allocations: 0.8533 MB / 0.6141 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007476/0.7131, allocations: 1.25 MB / 0.6153 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.7133, allocations: 208.3 kB / 0.6155 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.7134, allocations: 23.89 kB / 0.6155 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.7137, allocations: 11.98 kB / 0.6155 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.7138, allocations: 31.91 kB / 0.6155 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.7138, allocations: 23.98 kB / 0.6156 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 0.0005245/0.7144, allocations: 0.5421 MB / 0.6161 GB, free: 14.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001112/0.7155, allocations: 111.8 kB / 0.6162 GB, free: 14.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * 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.0007156/0.7162, allocations: 410.3 kB / 0.6166 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.7166, allocations: 282.8 kB / 0.6169 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7166, allocations: 0 / 0.6169 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.7168, allocations: 151.8 kB / 0.617 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/0.7175, allocations: 103.7 kB / 0.6171 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.7188, allocations: 0.8686 MB / 0.618 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.7193, allocations: 0.9623 MB / 0.6189 GB, free: 11.59 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.7193, allocations: 0 / 0.6189 GB, free: 11.59 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat does not exist to compare? outputFormat=mat