Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001262/0.001262, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008612/0.0008613, allocations: 90.14 kB / 261.8 MB, free: 1.684 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.2143/0.2143, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.693e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.4784, allocations: 86.72 MB / 0.5507 GB, free: 7.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001669/0.4787, allocations: 74.5 kB / 0.5508 GB, free: 7.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009776/0.4884, allocations: 4.293 MB / 0.555 GB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.4885, allocations: 4 kB / 0.555 GB, free: 4.555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.4885, allocations: 3.938 kB / 0.555 GB, free: 4.551 MB / 362.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.0002963/0.4888, allocations: 386.1 kB / 0.5553 GB, free: 4.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4889, allocations: 8.031 kB / 0.5554 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.4889, allocations: 12.69 kB / 0.5554 GB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.4891, allocations: 195.3 kB / 0.5556 GB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.4891, allocations: 0 / 0.5556 GB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.4891, allocations: 4 kB / 0.5556 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.422e-05/0.4892, allocations: 23 kB / 0.5556 GB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.4893, allocations: 61.53 kB / 0.5556 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4893, allocations: 3.938 kB / 0.5556 GB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4893, allocations: 0 / 0.5556 GB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4894, allocations: 7.922 kB / 0.5556 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.4897, allocations: 289.2 kB / 0.5559 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.683e-05/0.4898, allocations: 42.08 kB / 0.556 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.4898, allocations: 16.61 kB / 0.556 GB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.4898, allocations: 0 / 0.556 GB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.4899, allocations: 34.56 kB / 0.556 GB, free: 3.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.4899, allocations: 0 / 0.556 GB, free: 3.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004509/0.4903, allocations: 154.9 kB / 0.5562 GB, free: 3.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.4904, allocations: 77.11 kB / 0.5562 GB, free: 3.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.4905, allocations: 128.6 kB / 0.5564 GB, free: 3.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4905, allocations: 25.7 kB / 0.5564 GB, free: 3.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.4905, allocations: 99.31 kB / 0.5565 GB, free: 2.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.4906, allocations: 19.38 kB / 0.5565 GB, free: 2.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.4906, allocations: 0 / 0.5565 GB, free: 2.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.4906, allocations: 322 kB / 0.5568 GB, free: 2.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-05/0.4907, allocations: 23.25 kB / 0.5568 GB, free: 2.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.4907, allocations: 36.14 kB / 0.5569 GB, free: 2.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.4907, allocations: 22.11 kB / 0.5569 GB, free: 2.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.4908, allocations: 0 / 0.5569 GB, free: 2.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.4909, allocations: 86.12 kB / 0.557 GB, free: 2.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.4909, allocations: 4 kB / 0.557 GB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4909, allocations: 3.984 kB / 0.557 GB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4909, allocations: 0 / 0.557 GB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.491, allocations: 28.02 kB / 0.557 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.491, allocations: 3.953 kB / 0.557 GB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.526e-05/0.4911, allocations: 15.98 kB / 0.557 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4911, allocations: 4 kB / 0.557 GB, free: 2.391 MB / 362.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 (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 5.614e-05/0.4912, allocations: 108.4 kB / 0.5571 GB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001094/0.4913, allocations: 82.22 kB / 0.5572 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.4913, allocations: 11.91 kB / 0.5572 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.4915, allocations: 106.9 kB / 0.5573 GB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4915, allocations: 4 kB / 0.5573 GB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4916, allocations: 0 / 0.5573 GB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4916, allocations: 0 / 0.5573 GB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.4919, allocations: 349.5 kB / 0.5577 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4919, allocations: 0 / 0.5577 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.492, allocations: 23.98 kB / 0.5577 GB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.492, allocations: 3.953 kB / 0.5577 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.492, allocations: 4 kB / 0.5577 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.492, allocations: 0 / 0.5577 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.492, allocations: 0 / 0.5577 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.4921, allocations: 177.2 kB / 0.5579 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.4922, allocations: 100.4 kB / 0.5579 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4922, allocations: 7.953 kB / 0.558 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.4923, allocations: 15.98 kB / 0.558 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.4923, allocations: 0 / 0.558 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.4924, allocations: 7.75 kB / 0.558 GB, free: 1.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.28e-05/0.4924, allocations: 106.3 kB / 0.5581 GB, free: 1.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4924, allocations: 0 / 0.5581 GB, free: 1.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.4927, allocations: 35.36 kB / 0.5581 GB, free: 1.285 MB / 362.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 () * 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.001018/0.4937, allocations: 0.9865 MB / 0.5591 GB, free: 356 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.4939, allocations: 53.38 kB / 0.5591 GB, free: 320 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4939, allocations: 0 / 0.5591 GB, free: 320 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.4939, allocations: 27.05 kB / 0.5592 GB, free: 300 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.4941, allocations: 23.48 kB / 0.5592 GB, free: 280 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.4946, allocations: 190.8 kB / 0.5594 GB, free: 68 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.4949, allocations: 0.7041 MB / 0.56 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.516e-05/0.495, allocations: 20.59 kB / 0.5601 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.4951, allocations: 29.67 kB / 0.5601 GB, free: 15.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4951, allocations: 0 / 0.5601 GB, free: 15.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.5184, allocations: 2.251 MB / 0.5623 GB, free: 13.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.5187, allocations: 169.7 kB / 0.5625 GB, free: 12.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.056, allocations: 0 / 0.5625 GB, free: 12.85 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat