Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",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.000902/0.0009019, 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.551/1.551, allocations: 205.3 MB / 213.7 MB, free: 1.723 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.0008515/0.0008515, allocations: 90.2 kB / 261.7 MB, free: 1.672 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.2262/0.2262, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.004e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5826, allocations: 86.43 MB / 0.5504 GB, free: 8.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.583, allocations: 77.64 kB / 0.5505 GB, free: 7.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01457/0.5976, allocations: 7.803 MB / 0.5581 GB, free: 1.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.448e-06/0.5977, allocations: 0 / 0.5581 GB, free: 1.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.5977, allocations: 8 kB / 0.5581 GB, free: 1.316 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.0006271/0.5984, allocations: 0.5569 MB / 0.5587 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.472e-05/0.5985, allocations: 8.031 kB / 0.5587 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.492e-05/0.5986, allocations: 51.39 kB / 0.5587 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.5991, allocations: 331.2 kB / 0.5591 GB, free: 348 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5991, allocations: 4 kB / 0.5591 GB, free: 344 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.5991, allocations: 0 / 0.5591 GB, free: 344 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.317e-05/0.5992, allocations: 23.3 kB / 0.5591 GB, free: 328 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.561e-05/0.5993, allocations: 52.5 kB / 0.5591 GB, free: 272 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5993, allocations: 0 / 0.5591 GB, free: 272 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5993, allocations: 0 / 0.5591 GB, free: 272 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5994, allocations: 3.953 kB / 0.5591 GB, free: 268 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.6, allocations: 430.5 kB / 0.5595 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.6001, allocations: 39.23 kB / 0.5596 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.6001, allocations: 16.44 kB / 0.5596 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.6002, allocations: 4 kB / 0.5596 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.6002, allocations: 30.56 kB / 0.5596 GB, free: 15.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.6002, allocations: 0 / 0.5596 GB, free: 15.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005739/0.6008, allocations: 242.3 kB / 0.5599 GB, free: 15.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.6008, allocations: 55.41 kB / 0.5599 GB, free: 15.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.6019, allocations: 0.7573 MB / 0.5607 GB, free: 14.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.6019, allocations: 25.7 kB / 0.5607 GB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.6021, allocations: 213.2 kB / 0.5609 GB, free: 14.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.6021, allocations: 23.52 kB / 0.5609 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.6021, allocations: 0 / 0.5609 GB, free: 14.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6023, allocations: 361.8 kB / 0.5612 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.6023, allocations: 23.67 kB / 0.5613 GB, free: 14.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.6024, allocations: 19.75 kB / 0.5613 GB, free: 14.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.6024, allocations: 23.61 kB / 0.5613 GB, free: 14.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.6024, allocations: 0 / 0.5613 GB, free: 14.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001515/0.6026, allocations: 116.4 kB / 0.5614 GB, free: 14.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.6026, allocations: 8 kB / 0.5614 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6026, allocations: 0 / 0.5614 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6026, allocations: 7.938 kB / 0.5614 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.6028, allocations: 23.98 kB / 0.5615 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6028, allocations: 4 kB / 0.5615 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/0.6029, allocations: 15.92 kB / 0.5615 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.6029, allocations: 7.875 kB / 0.5615 GB, free: 14.16 MB / 378.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 6.528e-05/0.603, allocations: 101 kB / 0.5616 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001734/0.6032, allocations: 120 kB / 0.5617 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.6032, allocations: 51.39 kB / 0.5617 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.6035, allocations: 135.9 kB / 0.5619 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6035, allocations: 4 kB / 0.5619 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6035, allocations: 0 / 0.5619 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6035, allocations: 3.938 kB / 0.5619 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.6042, allocations: 0.5731 MB / 0.5624 GB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6042, allocations: 7.953 kB / 0.5625 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.685e-05/0.6043, allocations: 23.98 kB / 0.5625 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6043, allocations: 0 / 0.5625 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.6043, allocations: 0 / 0.5625 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.6043, allocations: 4 kB / 0.5625 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6043, allocations: 0 / 0.5625 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.6046, allocations: 213.8 kB / 0.5627 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.6047, allocations: 163.9 kB / 0.5628 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.6048, allocations: 4 kB / 0.5628 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.6049, allocations: 19.98 kB / 0.5629 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.605, allocations: 7.984 kB / 0.5629 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.605, allocations: 3.938 kB / 0.5629 GB, free: 12.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005656/0.6055, allocations: 0.6103 MB / 0.5635 GB, free: 12.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6055, allocations: 0 / 0.5635 GB, free: 12.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.6058, allocations: 56 kB / 0.5635 GB, free: 12.3 MB / 378.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.001159/0.607, allocations: 0.9853 MB / 0.5645 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.6072, allocations: 59.47 kB / 0.5645 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6072, allocations: 0 / 0.5645 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.6072, allocations: 27.69 kB / 0.5646 GB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.6075, allocations: 25.52 kB / 0.5646 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.6088, allocations: 0.8414 MB / 0.5654 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.6092, allocations: 0.8408 MB / 0.5662 GB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.6093, allocations: 48.64 kB / 0.5663 GB, free: 9.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.6095, allocations: 123.3 kB / 0.5664 GB, free: 9.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.95e-06/0.6095, allocations: 0 / 0.5664 GB, free: 9.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.6381, allocations: 6.035 MB / 0.5723 GB, free: 3.531 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/0.6385, allocations: 164.2 kB / 0.5724 GB, free: 3.336 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.583, allocations: 0 / 0.5724 GB, free: 3.336 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat does not exist to compare? outputFormat=mat