Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009547/0.0009548, allocations: 89.14 kB / 267 MB, free: 9.266 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.5566/0.5566, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.9e-05/4.912e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.5943, allocations: 87.62 MB / 0.5585 GB, free: 16.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5945, allocations: 72.62 kB / 0.5585 GB, free: 16.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01534/0.6099, allocations: 5.366 MB / 0.5638 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.61, allocations: 0 / 0.5638 GB, free: 13.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.61, allocations: 0 / 0.5638 GB, free: 13.32 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.0006015/0.6106, allocations: 404.6 kB / 0.5642 GB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.6107, allocations: 9.484 kB / 0.5642 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.6108, allocations: 34.56 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.6108, allocations: 11.34 kB / 0.5642 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.6111, allocations: 221.2 kB / 0.5644 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6112, allocations: 1.406 kB / 0.5644 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.6112, allocations: 7.938 kB / 0.5644 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.6114, allocations: 51.73 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.6114, allocations: 4 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.6114, allocations: 1.375 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6114, allocations: 4 kB / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/0.6115, allocations: 17.8 kB / 0.5645 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.612, allocations: 290.6 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.6121, allocations: 51.81 kB / 0.5648 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.6122, allocations: 35.08 kB / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.6122, allocations: 0 / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.6123, allocations: 70.16 kB / 0.5649 GB, free: 12.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.6124, allocations: 0 / 0.5649 GB, free: 12.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004763/0.6128, allocations: 164.6 kB / 0.5651 GB, free: 11.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6129, allocations: 51.41 kB / 0.5652 GB, free: 11.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.6131, allocations: 167.7 kB / 0.5653 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.6131, allocations: 35.39 kB / 0.5653 GB, free: 11.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.6132, allocations: 104.7 kB / 0.5654 GB, free: 11.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.6132, allocations: 22.77 kB / 0.5655 GB, free: 11.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.6132, allocations: 3.25 kB / 0.5655 GB, free: 11.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.6133, allocations: 322.3 kB / 0.5658 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.6134, allocations: 18.06 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.492e-05/0.6134, allocations: 35.22 kB / 0.5658 GB, free: 11.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.423e-05/0.6135, allocations: 27.36 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6135, allocations: 0 / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001386/0.6136, allocations: 102.1 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.6136, allocations: 4 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6136, allocations: 80 / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6137, allocations: 5.969 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.6138, allocations: 15.98 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.6138, allocations: 7.938 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.6138, allocations: 4 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.6139, allocations: 7.469 kB / 0.566 GB, free: 11.07 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 7.111e-05/0.6139, allocations: 114.5 kB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.614, allocations: 11.91 kB / 0.5661 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.6142, allocations: 113.2 kB / 0.5662 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6142, allocations: 4 kB / 0.5662 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6142, allocations: 0 / 0.5662 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.6142, allocations: 3.953 kB / 0.5662 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.6146, allocations: 412.4 kB / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6146, allocations: 0 / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.6147, allocations: 11.94 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6147, allocations: 0 / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.6147, allocations: 12.61 kB / 0.5666 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6147, allocations: 0 / 0.5666 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6147, allocations: 0 / 0.5666 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.6149, allocations: 219.4 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.6149, allocations: 96.7 kB / 0.567 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.615, allocations: 3.953 kB / 0.567 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.615, allocations: 7.984 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.6151, allocations: 7.938 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.6151, allocations: 4 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.134e-05/0.6152, allocations: 142 kB / 0.5671 GB, free: 9.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6152, allocations: 0 / 0.5671 GB, free: 9.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.6155, allocations: 39.56 kB / 0.5671 GB, free: 9.891 MB / 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.001213/0.6167, allocations: 1.135 MB / 0.5683 GB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.6168, allocations: 54.38 kB / 0.5683 GB, free: 8.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6168, allocations: 0 / 0.5683 GB, free: 8.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.6169, allocations: 38.97 kB / 0.5683 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.6172, allocations: 20.25 kB / 0.5684 GB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.6176, allocations: 235.9 kB / 0.5686 GB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.6178, allocations: 0.7043 MB / 0.5693 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.6178, allocations: 20.53 kB / 0.5693 GB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.6179, allocations: 37.05 kB / 0.5693 GB, free: 7.719 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6179, allocations: 0 / 0.5693 GB, free: 7.719 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.631, allocations: 3.015 MB / 0.5723 GB, free: 4.738 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.6312, allocations: 179.6 kB / 0.5724 GB, free: 4.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.235, allocations: 0 / 0.5724 GB, free: 4.52 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat