Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.0009688/0.0009688, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.497/1.497, allocations: 205.4 MB / 221.9 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.001136/0.001136, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2618/0.2618, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003898, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5941, allocations: 87.67 MB / 0.5645 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.5944, allocations: 75.09 kB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.6087, allocations: 5.203 MB / 0.5696 GB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6088, allocations: 0 / 0.5696 GB, free: 7.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.6088, allocations: 4 kB / 0.5696 GB, free: 7.578 MB / 378.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.0005502/0.6094, allocations: 417.8 kB / 0.57 GB, free: 7.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.6094, allocations: 8.031 kB / 0.57 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.6095, allocations: 34.56 kB / 0.5701 GB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.6095, allocations: 7.906 kB / 0.5701 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.6098, allocations: 207 kB / 0.5703 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.6098, allocations: 3.938 kB / 0.5703 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.6099, allocations: 11.12 kB / 0.5703 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.61, allocations: 56.66 kB / 0.5703 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.61, allocations: 0 / 0.5703 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.6101, allocations: 0 / 0.5703 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6101, allocations: 0 / 0.5703 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.62e-05/0.6101, allocations: 19.48 kB / 0.5704 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.6105, allocations: 290 kB / 0.5706 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.6107, allocations: 65.42 kB / 0.5707 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.6107, allocations: 0 / 0.5707 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.6109, allocations: 66.27 kB / 0.5708 GB, free: 6.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.6109, allocations: 4 kB / 0.5708 GB, free: 6.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005628/0.6115, allocations: 177.1 kB / 0.5709 GB, free: 6.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.6115, allocations: 55.41 kB / 0.571 GB, free: 6.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.6117, allocations: 151.8 kB / 0.5711 GB, free: 5.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.6117, allocations: 25.7 kB / 0.5712 GB, free: 5.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.6118, allocations: 103 kB / 0.5713 GB, free: 5.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.6118, allocations: 23.59 kB / 0.5713 GB, free: 5.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.6118, allocations: 3.938 kB / 0.5713 GB, free: 5.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.612, allocations: 325.5 kB / 0.5716 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.612, allocations: 22.67 kB / 0.5716 GB, free: 5.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.6121, allocations: 40.64 kB / 0.5717 GB, free: 5.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.6122, allocations: 22.81 kB / 0.5717 GB, free: 5.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.6122, allocations: 0 / 0.5717 GB, free: 5.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001791/0.6124, allocations: 102.8 kB / 0.5718 GB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6124, allocations: 6.656 kB / 0.5718 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6124, allocations: 0 / 0.5718 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6124, allocations: 0 / 0.5718 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.6125, allocations: 19.98 kB / 0.5718 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.6125, allocations: 7.984 kB / 0.5718 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.6126, allocations: 3.625 kB / 0.5718 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.6126, allocations: 4 kB / 0.5718 GB, free: 5.289 MB / 378.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 () * Number of clocked 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 9.331e-05/0.6127, allocations: 121.3 kB / 0.5719 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.6127, allocations: 11.89 kB / 0.5719 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.613, allocations: 122.7 kB / 0.5721 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.613, allocations: 0 / 0.5721 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.613, allocations: 0 / 0.5721 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.613, allocations: 7.953 kB / 0.5721 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.6135, allocations: 408.6 kB / 0.5725 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6135, allocations: 0 / 0.5725 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.6135, allocations: 15.94 kB / 0.5725 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6135, allocations: 0 / 0.5725 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.6135, allocations: 0 / 0.5725 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6135, allocations: 7.891 kB / 0.5725 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6136, allocations: 4 kB / 0.5725 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.6138, allocations: 222.3 kB / 0.5727 GB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.6139, allocations: 94.31 kB / 0.5728 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.6139, allocations: 5.828 kB / 0.5728 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.614, allocations: 8.609 kB / 0.5728 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.614, allocations: 9.062 kB / 0.5728 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.614, allocations: 4.484 kB / 0.5728 GB, free: 4.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.6142, allocations: 131.2 kB / 0.5729 GB, free: 4.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6142, allocations: 0 / 0.5729 GB, free: 4.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.6144, allocations: 31.41 kB / 0.573 GB, free: 4.105 MB / 378.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) * Number of clocked states: 0 () * 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.001493/0.6159, allocations: 1.195 MB / 0.5741 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.6161, allocations: 58.97 kB / 0.5742 GB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6161, allocations: 8.062 kB / 0.5742 GB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.6162, allocations: 30.8 kB / 0.5742 GB, free: 2.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.6165, allocations: 26.41 kB / 0.5743 GB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.6176, allocations: 0.804 MB / 0.575 GB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.6178, allocations: 0.7082 MB / 0.5757 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.011e-05/0.6179, allocations: 12.56 kB / 0.5757 GB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.618, allocations: 27.92 kB / 0.5758 GB, free: 1.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.618, allocations: 4.109 kB / 0.5758 GB, free: 1.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.6321, allocations: 2.852 MB / 0.5786 GB, free: 14.49 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.6323, allocations: 204.7 kB / 0.5788 GB, free: 14.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.158, allocations: 0 / 0.5788 GB, free: 14.25 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat