Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1",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.002488/0.002488, allocations: 182 kB / 16.4 MB, free: 5.723 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.107/2.107, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001216/0.001216, allocations: 90.88 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.5256/0.5256, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008996/0.0008996, allocations: 12 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1288, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4836/0.6125, allocations: 86.45 MB / 0.5632 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.6128, allocations: 74.45 kB / 0.5633 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.6286, allocations: 3.546 MB / 0.5668 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6286, allocations: 0 / 0.5668 GB, free: 12.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.6287, allocations: 0 / 0.5668 GB, free: 12.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005426/0.6292, allocations: 400.2 kB / 0.5672 GB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6293, allocations: 8.031 kB / 0.5672 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.6293, allocations: 34.56 kB / 0.5672 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.6294, allocations: 7.438 kB / 0.5672 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.6297, allocations: 187 kB / 0.5674 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.6297, allocations: 5.125 kB / 0.5674 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.6297, allocations: 4 kB / 0.5674 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.6299, allocations: 49.67 kB / 0.5674 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.63, allocations: 3.938 kB / 0.5675 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.63, allocations: 0 / 0.5675 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.63, allocations: 0 / 0.5675 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.6302, allocations: 30.33 kB / 0.5675 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.6307, allocations: 284.8 kB / 0.5678 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.631, allocations: 58.48 kB / 0.5678 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.631, allocations: 0 / 0.5678 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.6311, allocations: 31.12 kB / 0.5678 GB, free: 11.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.6311, allocations: 0 / 0.5678 GB, free: 11.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000879/0.632, allocations: 173.4 kB / 0.568 GB, free: 10.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.632, allocations: 55.36 kB / 0.5681 GB, free: 10.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.6322, allocations: 121.3 kB / 0.5682 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.6322, allocations: 29.7 kB / 0.5682 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.6323, allocations: 162.5 kB / 0.5684 GB, free: 10.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.6324, allocations: 15.81 kB / 0.5684 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.6324, allocations: 4 kB / 0.5684 GB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6325, allocations: 310.8 kB / 0.5687 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.6327, allocations: 26.89 kB / 0.5687 GB, free: 10.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.6328, allocations: 34.34 kB / 0.5687 GB, free: 10.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.633, allocations: 31.98 kB / 0.5688 GB, free: 10.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.633, allocations: 0 / 0.5688 GB, free: 10.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000338/0.6333, allocations: 81.67 kB / 0.5688 GB, free: 10.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6334, allocations: 7.938 kB / 0.5688 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6334, allocations: 0 / 0.5688 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6334, allocations: 0 / 0.5688 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.6336, allocations: 19.98 kB / 0.5689 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.6336, allocations: 0 / 0.5689 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-05/0.6337, allocations: 19.94 kB / 0.5689 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.6337, allocations: 0 / 0.5689 GB, free: 9.988 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.0001226/0.6338, allocations: 121.8 kB / 0.569 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.6339, allocations: 7.906 kB / 0.569 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.6343, allocations: 106 kB / 0.5691 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6343, allocations: 7.938 kB / 0.5691 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6344, allocations: 0 / 0.5691 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6344, allocations: 0 / 0.5691 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.6351, allocations: 366.3 kB / 0.5695 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6351, allocations: 0 / 0.5695 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.6352, allocations: 12 kB / 0.5695 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.6352, allocations: 0 / 0.5695 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.6352, allocations: 0 / 0.5695 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6353, allocations: 0 / 0.5695 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6353, allocations: 3.953 kB / 0.5695 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.6357, allocations: 199.4 kB / 0.5697 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.6357, allocations: 93.28 kB / 0.5698 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.6358, allocations: 0 / 0.5698 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.6359, allocations: 4 kB / 0.5698 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.636, allocations: 20.77 kB / 0.5698 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.636, allocations: 0 / 0.5698 GB, free: 8.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.6361, allocations: 108.7 kB / 0.5699 GB, free: 8.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6361, allocations: 0 / 0.5699 GB, free: 8.859 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.6365, allocations: 19.98 kB / 0.5699 GB, free: 8.84 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.001795/0.6383, allocations: 1.035 MB / 0.5709 GB, free: 7.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.6387, allocations: 59.95 kB / 0.571 GB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6387, allocations: 4 kB / 0.571 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.6388, allocations: 35.92 kB / 0.571 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.6391, allocations: 7.984 kB / 0.571 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.6407, allocations: 0.596 MB / 0.5716 GB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.641, allocations: 0.7004 MB / 0.5723 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.6411, allocations: 23.67 kB / 0.5723 GB, free: 6.391 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6411, allocations: 0 / 0.5723 GB, free: 6.391 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.745/3.386, allocations: 1.782 MB / 0.574 GB, free: 4.609 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat does not exist to compare? outputFormat=mat