Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.001682/0.001682, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.516/1.516, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009173, allocations: 102.8 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.091e-05, allocations: 4.219 kB / 451.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1399, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5845, allocations: 89.48 MB / 0.5892 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.5848, allocations: 75.91 kB / 0.5893 GB, free: 15.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02324/0.6081, allocations: 8.071 MB / 0.5971 GB, free: 7.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6081, allocations: 0 / 0.5971 GB, free: 7.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.6082, allocations: 4 kB / 0.5971 GB, free: 7.656 MB / 410.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.0006768/0.6089, allocations: 485.8 kB / 0.5976 GB, free: 7.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6089, allocations: 12.02 kB / 0.5976 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.609, allocations: 38.56 kB / 0.5977 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.6091, allocations: 27.72 kB / 0.5977 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.6095, allocations: 286.3 kB / 0.598 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.6096, allocations: 8 kB / 0.598 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.6096, allocations: 8 kB / 0.598 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.6098, allocations: 108.8 kB / 0.5981 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.6098, allocations: 0 / 0.5981 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.6099, allocations: 8 kB / 0.5981 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6099, allocations: 0 / 0.5981 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.61, allocations: 51.97 kB / 0.5981 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.6107, allocations: 476.8 kB / 0.5986 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.611, allocations: 121.2 kB / 0.5987 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.018e-05/0.6111, allocations: 49.7 kB / 0.5987 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.6111, allocations: 0 / 0.5987 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.6113, allocations: 113.1 kB / 0.5989 GB, free: 5.695 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.6113, allocations: 0 / 0.5989 GB, free: 5.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009362/0.6123, allocations: 436.1 kB / 0.5993 GB, free: 5.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.6124, allocations: 81.11 kB / 0.5994 GB, free: 5.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.6127, allocations: 331.2 kB / 0.5997 GB, free: 4.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.6128, allocations: 29.7 kB / 0.5997 GB, free: 4.801 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.6129, allocations: 136.5 kB / 0.5998 GB, free: 4.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.613, allocations: 75 kB / 0.5999 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.613, allocations: 7.938 kB / 0.5999 GB, free: 4.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6131, allocations: 342.8 kB / 0.6002 GB, free: 4.238 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.6132, allocations: 56 kB / 0.6003 GB, free: 4.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.6134, allocations: 84.73 kB / 0.6004 GB, free: 4.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.6135, allocations: 62.59 kB / 0.6004 GB, free: 4.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6135, allocations: 4 kB / 0.6004 GB, free: 4.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003383/0.6138, allocations: 217.8 kB / 0.6006 GB, free: 3.809 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6139, allocations: 13.09 kB / 0.6006 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6139, allocations: 0 / 0.6006 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6139, allocations: 7.953 kB / 0.6007 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.614, allocations: 39.98 kB / 0.6007 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6141, allocations: 3.984 kB / 0.6007 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.6142, allocations: 8 kB / 0.6007 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.6142, allocations: 12 kB / 0.6007 GB, free: 3.727 MB / 410.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 () * 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 9.177e-05/0.6143, allocations: 116.9 kB / 0.6008 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.6144, allocations: 39.61 kB / 0.6009 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.6148, allocations: 264.5 kB / 0.6011 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6149, allocations: 11.94 kB / 0.6011 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6149, allocations: 0 / 0.6011 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6149, allocations: 0 / 0.6011 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.6158, allocations: 0.7622 MB / 0.6019 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6158, allocations: 4 kB / 0.6019 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.616, allocations: 35.86 kB / 0.6019 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.616, allocations: 4 kB / 0.6019 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.616, allocations: 11.98 kB / 0.6019 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.616, allocations: 0 / 0.6019 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.616, allocations: 4.188 kB / 0.6019 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.6165, allocations: 482 kB / 0.6024 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.6167, allocations: 128.6 kB / 0.6025 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.6167, allocations: 8 kB / 0.6025 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.6169, allocations: 12 kB / 0.6025 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.617, allocations: 19.97 kB / 0.6026 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.617, allocations: 8 kB / 0.6026 GB, free: 1.676 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000288/0.6173, allocations: 263.1 kB / 0.6028 GB, free: 1.414 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6173, allocations: 0 / 0.6028 GB, free: 1.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003529/0.6176, allocations: 67.92 kB / 0.6029 GB, free: 1.348 MB / 410.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) * 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.002078/0.6197, allocations: 1.73 MB / 0.6046 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.62, allocations: 155.9 kB / 0.6047 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.62, allocations: 4 kB / 0.6047 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.6202, allocations: 83.86 kB / 0.6048 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.6206, allocations: 44.86 kB / 0.6048 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.6216, allocations: 496.6 kB / 0.6053 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6219, allocations: 0.7677 MB / 0.6061 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.6221, allocations: 46.06 kB / 0.6061 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.6222, allocations: 91.39 kB / 0.6062 GB, free: 13.94 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6222, allocations: 0 / 0.6062 GB, free: 13.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.64, allocations: 5.619 MB / 0.6117 GB, free: 8.422 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.6403, allocations: 191.9 kB / 0.6119 GB, free: 8.191 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.65, allocations: 0 / 0.6119 GB, free: 8.191 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat