Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001759/0.001759, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.328/1.328, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008277, allocations: 86.52 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3044/0.3044, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003126, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3261, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.4362, allocations: 87.95 MB / 0.5955 GB, free: 7.168 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4365, allocations: 83.91 kB / 0.5956 GB, free: 7.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009591/0.4461, allocations: 3.683 MB / 0.5992 GB, free: 3.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4461, allocations: 0 / 0.5992 GB, free: 3.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4461, allocations: 0 / 0.5992 GB, free: 3.406 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003877/0.4465, allocations: 383 kB / 0.5996 GB, free: 2.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4466, allocations: 8.031 kB / 0.5996 GB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.4466, allocations: 34.56 kB / 0.5996 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.4467, allocations: 7.906 kB / 0.5996 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.4469, allocations: 190.9 kB / 0.5998 GB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.4469, allocations: 7.938 kB / 0.5998 GB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.4469, allocations: 3.953 kB / 0.5998 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.447, allocations: 49.69 kB / 0.5999 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4471, allocations: 0 / 0.5999 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.4471, allocations: 0 / 0.5999 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4471, allocations: 3.938 kB / 0.5999 GB, free: 2.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.4472, allocations: 35.97 kB / 0.5999 GB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.4476, allocations: 268.8 kB / 0.6002 GB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.4478, allocations: 46.59 kB / 0.6002 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.4478, allocations: 7.922 kB / 0.6002 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.4478, allocations: 34.56 kB / 0.6002 GB, free: 2.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4478, allocations: 0 / 0.6002 GB, free: 2.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005665/0.4484, allocations: 157.3 kB / 0.6004 GB, free: 2.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.4484, allocations: 51.41 kB / 0.6004 GB, free: 1.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.4486, allocations: 131.5 kB / 0.6006 GB, free: 1.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.4486, allocations: 25.7 kB / 0.6006 GB, free: 1.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.4486, allocations: 92.14 kB / 0.6007 GB, free: 1.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.4487, allocations: 19.7 kB / 0.6007 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.4487, allocations: 0 / 0.6007 GB, free: 1.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4488, allocations: 322.8 kB / 0.601 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.4489, allocations: 19.98 kB / 0.601 GB, free: 1.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.4489, allocations: 23.98 kB / 0.601 GB, free: 1.305 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/0.449, allocations: 27.98 kB / 0.6011 GB, free: 1.277 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.449, allocations: 0 / 0.6011 GB, free: 1.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001747/0.4492, allocations: 85.61 kB / 0.6012 GB, free: 1.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4492, allocations: 6.344 kB / 0.6012 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4492, allocations: 0 / 0.6012 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4492, allocations: 4 kB / 0.6012 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.4493, allocations: 11.98 kB / 0.6012 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4493, allocations: 4 kB / 0.6012 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.4494, allocations: 15.89 kB / 0.6012 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4494, allocations: 256 / 0.6012 GB, free: 1.148 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 () * 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 8.327e-05/0.4495, allocations: 122.3 kB / 0.6013 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.4495, allocations: 4.281 kB / 0.6013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.4498, allocations: 117.8 kB / 0.6014 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.4498, allocations: 3.984 kB / 0.6014 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4498, allocations: 0 / 0.6014 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4498, allocations: 0 / 0.6014 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.4502, allocations: 350.5 kB / 0.6018 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4502, allocations: 7.938 kB / 0.6018 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.4503, allocations: 12 kB / 0.6018 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4503, allocations: 0 / 0.6018 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4503, allocations: 4 kB / 0.6018 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.4503, allocations: 0 / 0.6018 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4503, allocations: 3.938 kB / 0.6018 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.4505, allocations: 191.4 kB / 0.602 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.4506, allocations: 81.11 kB / 0.602 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.4506, allocations: 3.938 kB / 0.6021 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.4507, allocations: 7.984 kB / 0.6021 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.4507, allocations: 4 kB / 0.6021 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.4507, allocations: 4 kB / 0.6021 GB, free: 148 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.591e-05/0.4508, allocations: 115.2 kB / 0.6022 GB, free: 32 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.4508, allocations: 0 / 0.6022 GB, free: 32 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.4511, allocations: 19.94 kB / 0.6022 GB, free: 12 kB / 410.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.001324/0.4524, allocations: 1.024 MB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.4526, allocations: 51.91 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4526, allocations: 0 / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.4527, allocations: 39.86 kB / 0.6033 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.4529, allocations: 15.98 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.4539, allocations: 0.5418 MB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4542, allocations: 0.6926 MB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.4542, allocations: 8.188 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.4543, allocations: 23.48 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4543, allocations: 0 / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.4676, allocations: 2.031 MB / 0.6065 GB, free: 11.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.4678, allocations: 212.8 kB / 0.6067 GB, free: 11.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.957, allocations: 7.875 kB / 0.6067 GB, free: 11.52 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat does not exist to compare? outputFormat=mat