Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001537/0.001537, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001595/0.001594, allocations: 91.45 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3115/0.3115, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.287e-05, allocations: 4 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4164, allocations: 58.85 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.5837, allocations: 86.47 MB / 0.5504 GB, free: 12.83 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5841, allocations: 75.95 kB / 0.5505 GB, free: 12.75 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.6026, allocations: 4.395 MB / 0.5548 GB, free: 8.355 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6027, allocations: 0 / 0.5548 GB, free: 8.355 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.6027, allocations: 4 kB / 0.5548 GB, free: 8.352 MB / 395.1 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.0005627/0.6033, allocations: 395.3 kB / 0.5552 GB, free: 7.922 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.6033, allocations: 12.03 kB / 0.5552 GB, free: 7.91 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.6034, allocations: 11.86 kB / 0.5552 GB, free: 7.898 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.6037, allocations: 211.4 kB / 0.5554 GB, free: 7.648 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.6038, allocations: 4 kB / 0.5554 GB, free: 7.645 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.6038, allocations: 0 / 0.5554 GB, free: 7.645 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00011/0.6039, allocations: 16 kB / 0.5554 GB, free: 7.629 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.604, allocations: 57.67 kB / 0.5555 GB, free: 7.566 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6041, allocations: 0 / 0.5555 GB, free: 7.566 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.6041, allocations: 0 / 0.5555 GB, free: 7.566 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.6041, allocations: 0 / 0.5555 GB, free: 7.566 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.6047, allocations: 301.2 kB / 0.5558 GB, free: 7.234 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.6048, allocations: 38.58 kB / 0.5558 GB, free: 7.188 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.6049, allocations: 20.94 kB / 0.5558 GB, free: 7.164 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.605, allocations: 0 / 0.5558 GB, free: 7.164 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.605, allocations: 34.5 kB / 0.5559 GB, free: 7.121 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.605, allocations: 0 / 0.5559 GB, free: 7.121 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006525/0.6057, allocations: 165.1 kB / 0.556 GB, free: 6.953 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.6057, allocations: 51.41 kB / 0.5561 GB, free: 6.891 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.606, allocations: 185.5 kB / 0.5562 GB, free: 6.699 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.606, allocations: 25.7 kB / 0.5563 GB, free: 6.668 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.6061, allocations: 166.6 kB / 0.5564 GB, free: 6.504 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.6062, allocations: 23.64 kB / 0.5564 GB, free: 6.48 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.6062, allocations: 0 / 0.5564 GB, free: 6.48 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6063, allocations: 318.8 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.6064, allocations: 23.98 kB / 0.5568 GB, free: 6.137 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.6065, allocations: 20.08 kB / 0.5568 GB, free: 6.117 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.269e-05/0.6066, allocations: 23.97 kB / 0.5568 GB, free: 6.094 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6066, allocations: 3.938 kB / 0.5568 GB, free: 6.09 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002035/0.6068, allocations: 85.75 kB / 0.5569 GB, free: 6 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6068, allocations: 8 kB / 0.5569 GB, free: 5.992 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6069, allocations: 3.984 kB / 0.5569 GB, free: 5.988 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6069, allocations: 0 / 0.5569 GB, free: 5.988 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.6071, allocations: 23.98 kB / 0.5569 GB, free: 5.965 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6071, allocations: 7.953 kB / 0.5569 GB, free: 5.957 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.6073, allocations: 11.98 kB / 0.557 GB, free: 5.945 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6073, allocations: 4 kB / 0.557 GB, free: 5.941 MB / 395.1 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 (7): * Single equations (assignments): 7 * 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.515e-05/0.6074, allocations: 101 kB / 0.5571 GB, free: 5.836 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000217/0.6076, allocations: 85.53 kB / 0.5571 GB, free: 5.746 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.6077, allocations: 11.81 kB / 0.5571 GB, free: 5.734 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.608, allocations: 111.4 kB / 0.5573 GB, free: 5.621 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.608, allocations: 4 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.608, allocations: 0 / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.6081, allocations: 3.984 kB / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.6087, allocations: 359 kB / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6087, allocations: 0 / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.6089, allocations: 23.98 kB / 0.5576 GB, free: 5.195 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.6089, allocations: 11.95 kB / 0.5576 GB, free: 5.184 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6089, allocations: 4 kB / 0.5576 GB, free: 5.18 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.609, allocations: 0 / 0.5576 GB, free: 5.18 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.609, allocations: 0 / 0.5576 GB, free: 5.18 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.6092, allocations: 183.6 kB / 0.5578 GB, free: 4.984 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.6094, allocations: 96.89 kB / 0.5579 GB, free: 4.871 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.6094, allocations: 7.953 kB / 0.5579 GB, free: 4.863 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.6096, allocations: 15.98 kB / 0.5579 GB, free: 4.848 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.6096, allocations: 8 kB / 0.5579 GB, free: 4.84 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.6097, allocations: 0 / 0.5579 GB, free: 4.84 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.6099, allocations: 159.1 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6099, allocations: 0 / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.6103, allocations: 31.94 kB / 0.5581 GB, free: 4.652 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001487/0.6118, allocations: 0.9423 MB / 0.559 GB, free: 3.727 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.612, allocations: 55.91 kB / 0.5591 GB, free: 3.672 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.612, allocations: 4 kB / 0.5591 GB, free: 3.668 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.6121, allocations: 27.94 kB / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.6125, allocations: 27.23 kB / 0.5592 GB, free: 3.617 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.6133, allocations: 275.6 kB / 0.5594 GB, free: 3.305 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.6137, allocations: 0.7235 MB / 0.5601 GB, free: 2.555 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.6138, allocations: 35.42 kB / 0.5602 GB, free: 2.52 MB / 395.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6138, allocations: 0 / 0.5602 GB, free: 2.52 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/3.461, allocations: 2.429 MB / 0.5625 GB, free: 100 kB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat does not exist to compare? outputFormat=mat