Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001536/0.001536, allocations: 186 kB / 16.4 MB, free: 5.699 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.068/2.068, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001165/0.001164, allocations: 91.39 kB / 270.9 MB, free: 8.375 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.521/0.521, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006971/0.0006976, allocations: 16 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1726, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/0.6912, allocations: 86.34 MB / 0.5631 GB, free: 40 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.6916, allocations: 76.03 kB / 0.5632 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.7079, allocations: 3.562 MB / 0.5667 GB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.708, allocations: 0 / 0.5667 GB, free: 12.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.708, allocations: 4 kB / 0.5667 GB, free: 12.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005771/0.7086, allocations: 386.8 kB / 0.5671 GB, free: 12.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.7087, allocations: 8.031 kB / 0.5671 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.7087, allocations: 42.55 kB / 0.5671 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.7088, allocations: 11.34 kB / 0.5671 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.7091, allocations: 190.9 kB / 0.5673 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.7092, allocations: 8 kB / 0.5673 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.7092, allocations: 0 / 0.5673 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.7094, allocations: 53.62 kB / 0.5674 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.7094, allocations: 0 / 0.5674 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.7094, allocations: 0 / 0.5674 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.7095, allocations: 0 / 0.5674 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.7096, allocations: 29.02 kB / 0.5674 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.7101, allocations: 274.3 kB / 0.5677 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.7104, allocations: 46.5 kB / 0.5677 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.7105, allocations: 3.938 kB / 0.5677 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.7105, allocations: 38.64 kB / 0.5677 GB, free: 11.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.7105, allocations: 4 kB / 0.5677 GB, free: 11.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008588/0.7114, allocations: 149.6 kB / 0.5679 GB, free: 11.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.7115, allocations: 63.36 kB / 0.5679 GB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.7117, allocations: 140.1 kB / 0.5681 GB, free: 10.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.7117, allocations: 25.7 kB / 0.5681 GB, free: 10.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.7118, allocations: 154.6 kB / 0.5683 GB, free: 10.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.7118, allocations: 23.66 kB / 0.5683 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.7119, allocations: 0 / 0.5683 GB, free: 10.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.712, allocations: 314.8 kB / 0.5686 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.7122, allocations: 28.17 kB / 0.5686 GB, free: 10.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.7123, allocations: 19.98 kB / 0.5686 GB, free: 10.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.7125, allocations: 27.83 kB / 0.5686 GB, free: 10.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7125, allocations: 0 / 0.5686 GB, free: 10.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003304/0.7128, allocations: 89.61 kB / 0.5687 GB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.7128, allocations: 4 kB / 0.5687 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7129, allocations: 0 / 0.5687 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.7129, allocations: 0 / 0.5687 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.713, allocations: 20.53 kB / 0.5688 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7131, allocations: 0 / 0.5688 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.7131, allocations: 15.95 kB / 0.5688 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.7132, allocations: 0 / 0.5688 GB, free: 10.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001436/0.7133, allocations: 117.8 kB / 0.5689 GB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.7134, allocations: 11.89 kB / 0.5689 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.7138, allocations: 104.2 kB / 0.569 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.7139, allocations: 0 / 0.569 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7139, allocations: 0 / 0.569 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7139, allocations: 0 / 0.569 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/0.7146, allocations: 354.5 kB / 0.5693 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7146, allocations: 0 / 0.5693 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.7147, allocations: 19.98 kB / 0.5694 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.7148, allocations: 0.875 kB / 0.5694 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.7148, allocations: 0 / 0.5694 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.7148, allocations: 3.938 kB / 0.5694 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.7148, allocations: 11.88 kB / 0.5694 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.7152, allocations: 191.8 kB / 0.5695 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.7153, allocations: 89.02 kB / 0.5696 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.7153, allocations: 4.062 kB / 0.5696 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.7155, allocations: 7.984 kB / 0.5696 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.7155, allocations: 4 kB / 0.5696 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.7155, allocations: 3.953 kB / 0.5697 GB, free: 9.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.7157, allocations: 123.1 kB / 0.5698 GB, free: 8.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7157, allocations: 4 kB / 0.5698 GB, free: 8.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.716, allocations: 20 kB / 0.5698 GB, free: 8.957 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001878/0.7179, allocations: 1.017 MB / 0.5708 GB, free: 8.016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.7183, allocations: 55.97 kB / 0.5708 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7183, allocations: 0 / 0.5708 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.7185, allocations: 39.86 kB / 0.5709 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.7188, allocations: 11.98 kB / 0.5709 GB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.7204, allocations: 0.6026 MB / 0.5715 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.7208, allocations: 0.6965 MB / 0.5722 GB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.7209, allocations: 19.5 kB / 0.5722 GB, free: 6.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.721, allocations: 4 kB / 0.5722 GB, free: 6.523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.917/3.638, allocations: 1.802 MB / 0.5739 GB, free: 4.723 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat does not exist to compare? outputFormat=mat