Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",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.002289/0.002288, allocations: 186.3 kB / 16.4 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001187/0.001186, allocations: 90.91 kB / 270.9 MB, free: 8.363 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.5443/0.5443, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004875, allocations: 20 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1335, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4624/0.596, allocations: 87.71 MB / 0.5645 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5963, allocations: 75.97 kB / 0.5646 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02473/0.6211, allocations: 5.424 MB / 0.5699 GB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.6211, allocations: 0 / 0.5699 GB, free: 9.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.6212, allocations: 4 kB / 0.5699 GB, free: 9.227 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.000688/0.6219, allocations: 429.8 kB / 0.5703 GB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6219, allocations: 9.438 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.622, allocations: 34.56 kB / 0.5703 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.622, allocations: 19.23 kB / 0.5703 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.6224, allocations: 211.6 kB / 0.5705 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.6225, allocations: 0 / 0.5705 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.6225, allocations: 8 kB / 0.5705 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.6227, allocations: 58.42 kB / 0.5706 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6227, allocations: 3.938 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.6228, allocations: 4 kB / 0.5706 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.6228, allocations: 5.031 kB / 0.5706 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.6229, allocations: 15.98 kB / 0.5706 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.6234, allocations: 292.9 kB / 0.5709 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.6237, allocations: 74.59 kB / 0.571 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.6237, allocations: 0 / 0.571 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.6239, allocations: 67.52 kB / 0.571 GB, free: 7.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.6239, allocations: 2.719 kB / 0.571 GB, free: 7.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008191/0.6248, allocations: 189 kB / 0.5712 GB, free: 7.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.6248, allocations: 55.41 kB / 0.5713 GB, free: 7.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.6252, allocations: 184.8 kB / 0.5714 GB, free: 7.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.6252, allocations: 25.7 kB / 0.5715 GB, free: 7.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.6253, allocations: 166.6 kB / 0.5716 GB, free: 7.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.6253, allocations: 27.64 kB / 0.5717 GB, free: 7.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.6254, allocations: 0 / 0.5717 GB, free: 7.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6255, allocations: 314.8 kB / 0.572 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.6256, allocations: 19.98 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.6257, allocations: 45.64 kB / 0.572 GB, free: 6.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.6258, allocations: 24 kB / 0.572 GB, free: 6.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6259, allocations: 0 / 0.572 GB, free: 6.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002943/0.6262, allocations: 89.67 kB / 0.5721 GB, free: 6.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6262, allocations: 4 kB / 0.5721 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6262, allocations: 4.797 kB / 0.5721 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6262, allocations: 0 / 0.5721 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.6264, allocations: 23.98 kB / 0.5722 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.6264, allocations: 3.953 kB / 0.5722 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.095e-05/0.6265, allocations: 4.031 kB / 0.5722 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.6266, allocations: 4 kB / 0.5722 GB, free: 6.637 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 () * 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 0.0001458/0.6267, allocations: 133.8 kB / 0.5723 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.6268, allocations: 11.81 kB / 0.5723 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.6272, allocations: 123.9 kB / 0.5724 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6272, allocations: 0 / 0.5724 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.6272, allocations: 4.281 kB / 0.5724 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6272, allocations: 3.953 kB / 0.5724 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007131/0.6279, allocations: 415.3 kB / 0.5728 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.628, allocations: 7.875 kB / 0.5728 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.044e-05/0.628, allocations: 15.94 kB / 0.5729 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6281, allocations: 0 / 0.5729 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.6281, allocations: 0 / 0.5729 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.6281, allocations: 7.953 kB / 0.5729 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6281, allocations: 0 / 0.5729 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.6285, allocations: 229.9 kB / 0.5731 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.6286, allocations: 85.02 kB / 0.5732 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.6287, allocations: 16.31 kB / 0.5732 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6288, allocations: 0 / 0.5732 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.6289, allocations: 7.984 kB / 0.5732 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.6289, allocations: 12 kB / 0.5732 GB, free: 5.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000212/0.6291, allocations: 156.9 kB / 0.5733 GB, free: 5.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6292, allocations: 0 / 0.5733 GB, free: 5.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.6295, allocations: 31.94 kB / 0.5734 GB, free: 5.281 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) * 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.002017/0.6316, allocations: 1.193 MB / 0.5745 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.6319, allocations: 63.89 kB / 0.5746 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.632, allocations: 4.062 kB / 0.5746 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.6321, allocations: 35.92 kB / 0.5746 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.6325, allocations: 27.42 kB / 0.5747 GB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.6344, allocations: 0.9201 MB / 0.5756 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.6348, allocations: 0.716 MB / 0.5763 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6349, allocations: 35.42 kB / 0.5763 GB, free: 2.297 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6349, allocations: 0 / 0.5763 GB, free: 2.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.101/3.736, allocations: 2.523 MB / 0.5788 GB, free: 15.78 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat