Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001632, allocations: 176.7 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 102.4 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.376/0.376, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003463, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4035, allocations: 61.91 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.5739, allocations: 89.55 MB / 0.5971 GB, free: 5.453 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/0.5743, allocations: 83.89 kB / 0.5972 GB, free: 5.379 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0343/0.6086, allocations: 8.42 MB / 0.6054 GB, free: 12.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.32e-06/0.6087, allocations: 0 / 0.6054 GB, free: 12.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.6087, allocations: 7.938 kB / 0.6054 GB, free: 12.94 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00109/0.6098, allocations: 0.568 MB / 0.606 GB, free: 12.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.6099, allocations: 12.03 kB / 0.606 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.6099, allocations: 38.55 kB / 0.606 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.61, allocations: 31.62 kB / 0.606 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.6107, allocations: 306.9 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.6108, allocations: 8 kB / 0.6063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.6108, allocations: 7.906 kB / 0.6064 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.6111, allocations: 116 kB / 0.6065 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6112, allocations: 3.938 kB / 0.6065 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.6112, allocations: 7.984 kB / 0.6065 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6112, allocations: 0 / 0.6065 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.6114, allocations: 47.97 kB / 0.6065 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.6123, allocations: 0.4968 MB / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.6129, allocations: 121.2 kB / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.613, allocations: 11.88 kB / 0.6071 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.6133, allocations: 126.9 kB / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.6133, allocations: 0 / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.00189/0.6152, allocations: 0.5083 MB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.6153, allocations: 89.05 kB / 0.6078 GB, free: 10.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007954/0.6161, allocations: 432.8 kB / 0.6082 GB, free: 9.801 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.6162, allocations: 37.7 kB / 0.6083 GB, free: 9.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.6163, allocations: 156.5 kB / 0.6084 GB, free: 9.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.6164, allocations: 78.98 kB / 0.6085 GB, free: 9.523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.6165, allocations: 4 kB / 0.6085 GB, free: 9.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6167, allocations: 346.8 kB / 0.6088 GB, free: 9.172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.6169, allocations: 55.97 kB / 0.6089 GB, free: 9.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.6171, allocations: 89.81 kB / 0.609 GB, free: 9.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.6174, allocations: 75.92 kB / 0.6091 GB, free: 8.945 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6174, allocations: 0 / 0.6091 GB, free: 8.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006436/0.618, allocations: 237.1 kB / 0.6093 GB, free: 8.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.6181, allocations: 13.83 kB / 0.6093 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6181, allocations: 0 / 0.6093 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6181, allocations: 0 / 0.6093 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.6184, allocations: 44.05 kB / 0.6093 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.6184, allocations: 7.938 kB / 0.6093 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.6186, allocations: 11.98 kB / 0.6094 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.6186, allocations: 12 kB / 0.6094 GB, free: 8.621 MB / 426.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000233/0.6188, allocations: 170.3 kB / 0.6095 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/0.6189, allocations: 35.53 kB / 0.6096 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007953/0.6197, allocations: 288.8 kB / 0.6098 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6198, allocations: 4 kB / 0.6098 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.6198, allocations: 0 / 0.6098 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.6198, allocations: 3.984 kB / 0.6098 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.6215, allocations: 0.8053 MB / 0.6106 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6215, allocations: 192 / 0.6106 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.6217, allocations: 39.92 kB / 0.6107 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.6217, allocations: 3.938 kB / 0.6107 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.6217, allocations: 7.984 kB / 0.6107 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.6218, allocations: 4 kB / 0.6107 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6218, allocations: 0 / 0.6107 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/0.6226, allocations: 0.5033 MB / 0.6112 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.6228, allocations: 124.7 kB / 0.6113 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.6229, allocations: 11.98 kB / 0.6113 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.6232, allocations: 12 kB / 0.6113 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.6232, allocations: 15.97 kB / 0.6113 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.6233, allocations: 12 kB / 0.6113 GB, free: 6.426 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005649/0.6239, allocations: 359.1 kB / 0.6117 GB, free: 6.078 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6239, allocations: 7.938 kB / 0.6117 GB, free: 6.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006705/0.6246, allocations: 71.94 kB / 0.6118 GB, free: 6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002963/0.6275, allocations: 1.794 MB / 0.6135 GB, free: 4.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005421/0.6281, allocations: 173.4 kB / 0.6137 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6281, allocations: 0 / 0.6137 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.6284, allocations: 91.83 kB / 0.6138 GB, free: 4.109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.6291, allocations: 49.39 kB / 0.6138 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.6333, allocations: 2.229 MB / 0.616 GB, free: 1.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.6338, allocations: 0.7879 MB / 0.6168 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.6341, allocations: 61.86 kB / 0.6168 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.6343, allocations: 103.4 kB / 0.6169 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6344, allocations: 7.938 kB / 0.6169 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.6609, allocations: 6.346 MB / 0.6231 GB, free: 10.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003569/0.6614, allocations: 222.2 kB / 0.6233 GB, free: 10.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.78, allocations: 0 / 0.6233 GB, free: 10.32 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat