Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 91.55 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2061/0.2061, allocations: 44.14 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.044e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.5186, allocations: 88.09 MB / 0.5878 GB, free: 1.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5189, allocations: 71.81 kB / 0.5879 GB, free: 1.094 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.5307, allocations: 4.348 MB / 0.5921 GB, free: 12.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5307, allocations: 0 / 0.5921 GB, free: 12.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.5307, allocations: 0 / 0.5921 GB, free: 12.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004131/0.5312, allocations: 394.2 kB / 0.5925 GB, free: 12.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5312, allocations: 8.031 kB / 0.5925 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.5313, allocations: 38.48 kB / 0.5926 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.5313, allocations: 15.91 kB / 0.5926 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.5315, allocations: 192 kB / 0.5927 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5316, allocations: 7.984 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.5316, allocations: 11.95 kB / 0.5928 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5317, allocations: 61.69 kB / 0.5928 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5318, allocations: 0 / 0.5928 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5318, allocations: 0 / 0.5928 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5318, allocations: 0 / 0.5928 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.5319, allocations: 35.92 kB / 0.5929 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.5323, allocations: 328.6 kB / 0.5932 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/0.5324, allocations: 54.58 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.5325, allocations: 20.8 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.5325, allocations: 3.984 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.5325, allocations: 34.56 kB / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.5325, allocations: 0 / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006637/0.5332, allocations: 218.5 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.5333, allocations: 55.36 kB / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.5334, allocations: 134.6 kB / 0.5937 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.5334, allocations: 29.7 kB / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.5335, allocations: 104 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.5335, allocations: 39.36 kB / 0.5938 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.5336, allocations: 0 / 0.5938 GB, free: 10.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5337, allocations: 330.8 kB / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.5338, allocations: 24 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.167e-05/0.5338, allocations: 24 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/0.5339, allocations: 33.11 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5339, allocations: 0 / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001659/0.534, allocations: 112.7 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5341, allocations: 8 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5341, allocations: 0 / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5341, allocations: 0 / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.5343, allocations: 35.97 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5343, allocations: 4 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.5343, allocations: 7.953 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5343, allocations: 4 kB / 0.5944 GB, free: 10.21 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.682e-05/0.5344, allocations: 108.9 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.5345, allocations: 11.91 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.5347, allocations: 138.2 kB / 0.5946 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5347, allocations: 8.109 kB / 0.5946 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5347, allocations: 3.938 kB / 0.5947 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5348, allocations: 0 / 0.5947 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.5353, allocations: 461.8 kB / 0.5951 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5353, allocations: 0 / 0.5951 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.5354, allocations: 23.98 kB / 0.5951 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5354, allocations: 8.031 kB / 0.5951 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5354, allocations: 11.94 kB / 0.5951 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5354, allocations: 0 / 0.5951 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5355, allocations: 4 kB / 0.5951 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.5357, allocations: 226 kB / 0.5954 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.5358, allocations: 92.97 kB / 0.5954 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.5358, allocations: 4 kB / 0.5954 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.5359, allocations: 11.98 kB / 0.5955 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.5359, allocations: 15.92 kB / 0.5955 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.536, allocations: 4 kB / 0.5955 GB, free: 8.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.5361, allocations: 113.8 kB / 0.5956 GB, free: 8.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5361, allocations: 0 / 0.5956 GB, free: 8.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.5363, allocations: 28 kB / 0.5956 GB, free: 8.855 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001452/0.5378, allocations: 1.144 MB / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.538, allocations: 87.86 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.538, allocations: 0 / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.5381, allocations: 39.94 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.5383, allocations: 22.78 kB / 0.5969 GB, free: 7.645 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.5389, allocations: 236.1 kB / 0.5971 GB, free: 7.375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.5392, allocations: 0.7119 MB / 0.5978 GB, free: 6.637 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.746e-05/0.5393, allocations: 20.53 kB / 0.5978 GB, free: 6.617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.5394, allocations: 35.42 kB / 0.5978 GB, free: 6.582 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5394, allocations: 3.938 kB / 0.5979 GB, free: 6.578 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.5535, allocations: 2.648 MB / 0.6004 GB, free: 4.008 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.5537, allocations: 185.7 kB / 0.6006 GB, free: 3.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.181, allocations: 0 / 0.6006 GB, free: 3.785 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat