Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",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.001283/0.001283, allocations: 180.3 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.553/1.553, allocations: 221.3 MB / 236 MB, free: 2.965 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.0009923/0.0009928, allocations: 99.78 kB / 287 MB, free: 240 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.2176/0.2176, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.773e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5761, allocations: 87.97 MB / 0.5877 GB, free: 1.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.5764, allocations: 71.97 kB / 0.5878 GB, free: 1.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01095/0.5874, allocations: 4.268 MB / 0.5919 GB, free: 12.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5874, allocations: 0 / 0.5919 GB, free: 12.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.5874, allocations: 4 kB / 0.592 GB, free: 12.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004157/0.5879, allocations: 394.2 kB / 0.5923 GB, free: 12.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5879, allocations: 8.031 kB / 0.5923 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.588, allocations: 34.55 kB / 0.5924 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.588, allocations: 7.906 kB / 0.5924 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.5883, allocations: 210.8 kB / 0.5926 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.5883, allocations: 7.875 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.5884, allocations: 7.953 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.5885, allocations: 53.62 kB / 0.5926 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5885, allocations: 0 / 0.5926 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.5885, allocations: 4 kB / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5885, allocations: 0 / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.5886, allocations: 12 kB / 0.5927 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.589, allocations: 292.8 kB / 0.5929 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.5891, allocations: 46.5 kB / 0.593 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.5892, allocations: 12.86 kB / 0.593 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.5892, allocations: 80 / 0.593 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.5892, allocations: 34.56 kB / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.5892, allocations: 0 / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005156/0.5897, allocations: 161.2 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.5898, allocations: 55.41 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.59, allocations: 181.3 kB / 0.5934 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.59, allocations: 25.7 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.5901, allocations: 100.1 kB / 0.5935 GB, free: 11.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.5901, allocations: 27.64 kB / 0.5936 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.5901, allocations: 4 kB / 0.5936 GB, free: 11.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5903, allocations: 326.8 kB / 0.5939 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.5903, allocations: 12 kB / 0.5939 GB, free: 10.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.5903, allocations: 23.94 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.5904, allocations: 20.22 kB / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5904, allocations: 0 / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001492/0.5905, allocations: 85.48 kB / 0.594 GB, free: 10.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5906, allocations: 8 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5906, allocations: 0 / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5906, allocations: 0 / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.5907, allocations: 19.98 kB / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5907, allocations: 0 / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.5908, allocations: 15.98 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5908, allocations: 4 kB / 0.594 GB, free: 10.59 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 (8): * Single equations (assignments): 8 * 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 8.138e-05/0.5909, allocations: 108.9 kB / 0.5942 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.5909, allocations: 15.84 kB / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.5911, allocations: 90.3 kB / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5911, allocations: 0 / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5912, allocations: 4 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5912, allocations: 0 / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.5916, allocations: 411.2 kB / 0.5946 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5916, allocations: 0 / 0.5946 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.5917, allocations: 19.94 kB / 0.5947 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5917, allocations: 3.938 kB / 0.5947 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.5917, allocations: 7.984 kB / 0.5947 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5917, allocations: 4 kB / 0.5947 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5918, allocations: 0 / 0.5947 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.5919, allocations: 194 kB / 0.5949 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.592, allocations: 100.9 kB / 0.595 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.592, allocations: 4 kB / 0.595 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.5921, allocations: 4 kB / 0.595 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.5922, allocations: 11.94 kB / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5922, allocations: 8 kB / 0.595 GB, free: 9.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.5923, allocations: 160 kB / 0.5951 GB, free: 9.352 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5923, allocations: 0 / 0.5951 GB, free: 9.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.5926, allocations: 27.94 kB / 0.5952 GB, free: 9.324 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 (8): * Single equations (assignments): 8 * 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.001482/0.5941, allocations: 1.107 MB / 0.5963 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.5943, allocations: 44 kB / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5943, allocations: 0 / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.5943, allocations: 31.94 kB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.5946, allocations: 23.88 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.5952, allocations: 236.4 kB / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.5955, allocations: 0.7004 MB / 0.5973 GB, free: 7.207 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.5956, allocations: 25.02 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.5956, allocations: 31.42 kB / 0.5973 GB, free: 7.148 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5957, allocations: 0 / 0.5973 GB, free: 7.148 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.6093, allocations: 2.668 MB / 0.5999 GB, free: 4.559 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.6095, allocations: 190.9 kB / 0.6001 GB, free: 4.328 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.18, allocations: 0 / 0.6001 GB, free: 4.328 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat does not exist to compare? outputFormat=mat