Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 188.5 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 96.28 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.179/0.179, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1988/0.3779, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.652, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.774, allocations: 86.99 MB / 0.5504 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.7744, allocations: 75.95 kB / 0.5505 GB, free: 11.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02128/0.7957, allocations: 7.48 MB / 0.5578 GB, free: 4.348 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7957, allocations: 16 kB / 0.5578 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.7958, allocations: 11.81 kB / 0.5578 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.7962, allocations: 242.7 kB / 0.5581 GB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7963, allocations: 4 kB / 0.5581 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.7963, allocations: 7.984 kB / 0.5581 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/0.7964, allocations: 27.98 kB / 0.5581 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.7965, allocations: 100.9 kB / 0.5582 GB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7966, allocations: 4 kB / 0.5582 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.7966, allocations: 0 / 0.5582 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.7966, allocations: 0 / 0.5582 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.7968, allocations: 187.1 kB / 0.5584 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.797, allocations: 97.28 kB / 0.5585 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.7971, allocations: 37.66 kB / 0.5585 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.7971, allocations: 4 kB / 0.5585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.7973, allocations: 101.1 kB / 0.5586 GB, free: 3.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.7973, allocations: 0 / 0.5586 GB, free: 3.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002841/0.7976, allocations: 113.4 kB / 0.5587 GB, free: 3.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.7976, allocations: 136.5 kB / 0.5589 GB, free: 3.102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.7979, allocations: 187 kB / 0.559 GB, free: 2.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.7979, allocations: 29.7 kB / 0.5591 GB, free: 2.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.7979, allocations: 96.12 kB / 0.5592 GB, free: 2.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.798, allocations: 27.64 kB / 0.5592 GB, free: 2.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.798, allocations: 0 / 0.5592 GB, free: 2.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7981, allocations: 330.7 kB / 0.5595 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.7982, allocations: 28 kB / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.7983, allocations: 69.08 kB / 0.5596 GB, free: 2.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.7983, allocations: 27.98 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7983, allocations: 0 / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002034/0.7985, allocations: 121.4 kB / 0.5597 GB, free: 2.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7986, allocations: 8.094 kB / 0.5597 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.7986, allocations: 4 kB / 0.5597 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.7986, allocations: 0 / 0.5597 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.7987, allocations: 23.98 kB / 0.5598 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7987, allocations: 3.938 kB / 0.5598 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.7988, allocations: 7.906 kB / 0.5598 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.7989, allocations: 7.938 kB / 0.5598 GB, free: 2.094 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001255/0.799, allocations: 118.4 kB / 0.5599 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.799, allocations: 23.72 kB / 0.5599 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.7993, allocations: 131 kB / 0.56 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7993, allocations: 0 / 0.56 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7993, allocations: 8.062 kB / 0.56 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7993, allocations: 0 / 0.56 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.7995, allocations: 202 kB / 0.5602 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.7995, allocations: 3.984 kB / 0.5602 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.7996, allocations: 8 kB / 0.5603 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.7996, allocations: 4 kB / 0.5603 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.7996, allocations: 4 kB / 0.5603 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.7996, allocations: 0 / 0.5603 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7996, allocations: 3.938 kB / 0.5603 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002176/0.7999, allocations: 163.3 kB / 0.5604 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003257/0.8002, allocations: 0.5427 MB / 0.5609 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.8003, allocations: 96.91 kB / 0.561 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.8003, allocations: 4 kB / 0.561 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.8004, allocations: 7.984 kB / 0.5611 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.8005, allocations: 11.98 kB / 0.5611 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.8005, allocations: 7.984 kB / 0.5611 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001273/0.8006, allocations: 161.5 kB / 0.5612 GB, free: 500 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008351/0.8014, allocations: 47.78 kB / 0.5613 GB, free: 452 kB / 394.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0007795/0.8022, allocations: 352.5 kB / 0.5616 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.8024, allocations: 79.92 kB / 0.5617 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8024, allocations: 4 kB / 0.5617 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.8025, allocations: 39.94 kB / 0.5617 GB, free: 12 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.8029, allocations: 47.75 kB / 0.5618 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.8034, allocations: 184.2 kB / 0.5619 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.8038, allocations: 0.755 MB / 0.5627 GB, free: 14.97 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8038, allocations: 0 / 0.5627 GB, free: 14.97 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat