Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.001379/0.001379, allocations: 183.1 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.709/1.709, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.0008485/0.0008486, allocations: 85.38 kB / 267 MB, free: 9.273 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.4001/0.4001, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.669e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5925, allocations: 87.58 MB / 0.5584 GB, free: 16.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.593, allocations: 76.14 kB / 0.5585 GB, free: 16.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.608, allocations: 5.266 MB / 0.5637 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6081, allocations: 4.484 kB / 0.5637 GB, free: 13.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.6081, allocations: 4 kB / 0.5637 GB, free: 13.34 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.0005224/0.6086, allocations: 401.7 kB / 0.564 GB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6087, allocations: 8.031 kB / 0.5641 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.672e-05/0.6088, allocations: 31.73 kB / 0.5641 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.6088, allocations: 11.17 kB / 0.5641 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.6091, allocations: 226.9 kB / 0.5643 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.6092, allocations: 4.875 kB / 0.5643 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.6092, allocations: 0 / 0.5643 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.6093, allocations: 55.33 kB / 0.5644 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6094, allocations: 1.547 kB / 0.5644 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.6094, allocations: 4 kB / 0.5644 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.6094, allocations: 1.594 kB / 0.5644 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.6095, allocations: 21.03 kB / 0.5644 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.6099, allocations: 296 kB / 0.5647 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.6101, allocations: 52.72 kB / 0.5647 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.6101, allocations: 22.05 kB / 0.5648 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.6102, allocations: 4 kB / 0.5648 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.6103, allocations: 69.66 kB / 0.5648 GB, free: 12.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.6103, allocations: 0 / 0.5648 GB, free: 12.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004955/0.6108, allocations: 165 kB / 0.565 GB, free: 12.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.6109, allocations: 51.41 kB / 0.565 GB, free: 11.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.6111, allocations: 171.1 kB / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.6111, allocations: 37.14 kB / 0.5652 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.6111, allocations: 101.6 kB / 0.5653 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.6112, allocations: 19.34 kB / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-06/0.6112, allocations: 3.312 kB / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.6113, allocations: 322.5 kB / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.6113, allocations: 19.12 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/0.6114, allocations: 39.08 kB / 0.5657 GB, free: 11.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.6114, allocations: 23 kB / 0.5657 GB, free: 11.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6114, allocations: 0 / 0.5657 GB, free: 11.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001566/0.6116, allocations: 102.2 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.6116, allocations: 8 kB / 0.5658 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6117, allocations: 0 / 0.5658 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6117, allocations: 0 / 0.5658 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.6118, allocations: 12 kB / 0.5658 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6118, allocations: 11.94 kB / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.6119, allocations: 3.562 kB / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.6119, allocations: 4 kB / 0.5659 GB, free: 11.15 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 6.99e-05/0.612, allocations: 115.7 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.612, allocations: 7.906 kB / 0.566 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.6122, allocations: 125.9 kB / 0.5661 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6122, allocations: 0 / 0.5661 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6122, allocations: 0 / 0.5661 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6122, allocations: 3.953 kB / 0.5661 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.6126, allocations: 410.9 kB / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6127, allocations: 0 / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.6127, allocations: 15.98 kB / 0.5665 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.6127, allocations: 0 / 0.5665 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.6127, allocations: 7.141 kB / 0.5665 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.6127, allocations: 4 kB / 0.5665 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6127, allocations: 0 / 0.5665 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.6129, allocations: 218.5 kB / 0.5667 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.613, allocations: 92.94 kB / 0.5668 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.613, allocations: 15.33 kB / 0.5668 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.6131, allocations: 0 / 0.5668 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.6132, allocations: 7.984 kB / 0.5668 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.6132, allocations: 6.875 kB / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.6133, allocations: 135.6 kB / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6133, allocations: 0 / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.6136, allocations: 35.17 kB / 0.567 GB, free: 9.98 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.001281/0.6149, allocations: 1.138 MB / 0.5681 GB, free: 8.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.6151, allocations: 65.03 kB / 0.5682 GB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6151, allocations: 0 / 0.5682 GB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.6151, allocations: 26.25 kB / 0.5682 GB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.6154, allocations: 27.72 kB / 0.5682 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.616, allocations: 232.4 kB / 0.5685 GB, free: 8.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.6161, allocations: 0.7113 MB / 0.5692 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.6162, allocations: 12.86 kB / 0.5692 GB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.6163, allocations: 35.8 kB / 0.5692 GB, free: 7.805 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6163, allocations: 0 / 0.5692 GB, free: 7.805 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.6333, allocations: 3.003 MB / 0.5721 GB, free: 4.832 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.6336, allocations: 191.6 kB / 0.5723 GB, free: 4.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.31, allocations: 0 / 0.5723 GB, free: 4.602 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat