Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",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.001485/0.001485, allocations: 188.4 kB / 7.8 MB, free: 2.5 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.281/1.281, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008707/0.0008707, allocations: 83.52 kB / 261.4 MB, free: 13.53 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.1698/0.1698, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1774/0.3473, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.5806, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.6897, allocations: 87.16 MB / 0.5506 GB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.69, allocations: 71.95 kB / 0.5507 GB, free: 11.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0212/0.7112, allocations: 7.808 MB / 0.5583 GB, free: 3.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.7113, allocations: 8 kB / 0.5583 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.7113, allocations: 7.906 kB / 0.5583 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.7117, allocations: 210.3 kB / 0.5585 GB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.7117, allocations: 4 kB / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.7118, allocations: 0 / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.574e-05/0.7119, allocations: 31.89 kB / 0.5586 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.712, allocations: 59.34 kB / 0.5586 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.712, allocations: 4 kB / 0.5586 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.712, allocations: 0 / 0.5586 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7121, allocations: 3.984 kB / 0.5586 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.7124, allocations: 261.4 kB / 0.5589 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.7126, allocations: 46.7 kB / 0.5589 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.7126, allocations: 24.91 kB / 0.5589 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.7127, allocations: 4 kB / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.93e-05/0.7128, allocations: 55.41 kB / 0.559 GB, free: 3.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.7128, allocations: 0 / 0.559 GB, free: 3.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004323/0.7132, allocations: 129.4 kB / 0.5591 GB, free: 2.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.7133, allocations: 89.02 kB / 0.5592 GB, free: 2.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.7134, allocations: 140.9 kB / 0.5593 GB, free: 2.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.7135, allocations: 25.7 kB / 0.5594 GB, free: 2.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.7135, allocations: 88.14 kB / 0.5594 GB, free: 2.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.7135, allocations: 27.64 kB / 0.5595 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7136, allocations: 3.938 kB / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7137, allocations: 322.8 kB / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.7137, allocations: 12 kB / 0.5598 GB, free: 2.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.7138, allocations: 38.58 kB / 0.5598 GB, free: 2.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.7138, allocations: 28.05 kB / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.7138, allocations: 0 / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001438/0.714, allocations: 93.53 kB / 0.5599 GB, free: 1.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.714, allocations: 4 kB / 0.5599 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.714, allocations: 0 / 0.5599 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.714, allocations: 3.906 kB / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.7141, allocations: 24.05 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.7141, allocations: 192 / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.7142, allocations: 8 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.7142, allocations: 192 / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.401e-05/0.7143, allocations: 114.3 kB / 0.5601 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.7143, allocations: 11.84 kB / 0.5601 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.7145, allocations: 98.08 kB / 0.5602 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7145, allocations: 0 / 0.5602 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7145, allocations: 4 kB / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7146, allocations: 0 / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.7149, allocations: 367.8 kB / 0.5606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7149, allocations: 0 / 0.5606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.715, allocations: 11.94 kB / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.715, allocations: 4 kB / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.715, allocations: 0 / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.715, allocations: 0 / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.715, allocations: 0 / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001806/0.7152, allocations: 209.9 kB / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002992/0.7155, allocations: 0.5765 MB / 0.5613 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.7156, allocations: 92.98 kB / 0.5614 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.7156, allocations: 0 / 0.5614 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.7157, allocations: 4 kB / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.7158, allocations: 11.98 kB / 0.5614 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.7158, allocations: 7.844 kB / 0.5614 GB, free: 312 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.67e-05/0.7159, allocations: 119 kB / 0.5616 GB, free: 196 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009321/0.7168, allocations: 51.86 kB / 0.5616 GB, free: 144 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007892/0.7176, allocations: 391.7 kB / 0.562 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.7177, allocations: 59.92 kB / 0.562 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7178, allocations: 0 / 0.562 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.7178, allocations: 27.94 kB / 0.5621 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.7181, allocations: 23.84 kB / 0.5621 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.7184, allocations: 132.7 kB / 0.5622 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.7187, allocations: 0.7271 MB / 0.5629 GB, free: 14.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7187, allocations: 0 / 0.5629 GB, free: 14.77 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat