Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",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.002193/0.002192, allocations: 186.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 95.55 kB / 270.9 MB, free: 8.391 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.5953/0.5953, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000535/0.0005352, allocations: 20 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1384, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5344/0.6729, allocations: 87.5 MB / 0.5643 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.6732, allocations: 78.19 kB / 0.5644 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02323/0.6964, allocations: 5.119 MB / 0.5694 GB, free: 9.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6965, allocations: 0 / 0.5694 GB, free: 9.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.6965, allocations: 7.984 kB / 0.5694 GB, free: 9.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006865/0.6972, allocations: 414.9 kB / 0.5698 GB, free: 9.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.6973, allocations: 8.031 kB / 0.5698 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.6973, allocations: 30.56 kB / 0.5698 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.6974, allocations: 11.34 kB / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.6978, allocations: 216.3 kB / 0.57 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.6978, allocations: 3.984 kB / 0.57 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.6979, allocations: 4 kB / 0.57 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.6981, allocations: 49.67 kB / 0.5701 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.6982, allocations: 0 / 0.5701 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.6982, allocations: 4 kB / 0.5701 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6983, allocations: 0 / 0.5701 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.6984, allocations: 20.95 kB / 0.5701 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.6988, allocations: 181.6 kB / 0.5703 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.6992, allocations: 54.62 kB / 0.5703 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.6993, allocations: 0 / 0.5703 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.6996, allocations: 71.41 kB / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 6.022e-06/0.6996, allocations: 0 / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006569/0.7002, allocations: 97.52 kB / 0.5705 GB, free: 8.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.7003, allocations: 51.41 kB / 0.5705 GB, free: 8.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.7007, allocations: 165.3 kB / 0.5707 GB, free: 8.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.7007, allocations: 29.7 kB / 0.5707 GB, free: 8.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.7008, allocations: 158.6 kB / 0.5709 GB, free: 8.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.7009, allocations: 15.83 kB / 0.5709 GB, free: 8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.7009, allocations: 4 kB / 0.5709 GB, free: 7.996 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7011, allocations: 310.8 kB / 0.5712 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.7011, allocations: 15.98 kB / 0.5712 GB, free: 7.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.7013, allocations: 33.66 kB / 0.5712 GB, free: 7.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.7014, allocations: 27.44 kB / 0.5713 GB, free: 7.605 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7014, allocations: 0 / 0.5713 GB, free: 7.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002512/0.7016, allocations: 69.69 kB / 0.5713 GB, free: 7.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7017, allocations: 4 kB / 0.5713 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7017, allocations: 0 / 0.5713 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7017, allocations: 3.938 kB / 0.5713 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.7019, allocations: 23.92 kB / 0.5714 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7019, allocations: 0 / 0.5714 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.792e-05/0.702, allocations: 11.94 kB / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.702, allocations: 0 / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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 0.0001488/0.7022, allocations: 129.8 kB / 0.5715 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.7022, allocations: 7.906 kB / 0.5715 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.7025, allocations: 98.78 kB / 0.5716 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7025, allocations: 0 / 0.5716 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7026, allocations: 0 / 0.5716 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7026, allocations: 3.984 kB / 0.5716 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.7028, allocations: 181.6 kB / 0.5718 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7028, allocations: 7.953 kB / 0.5718 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.7029, allocations: 7.984 kB / 0.5718 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7029, allocations: 0 / 0.5718 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.7029, allocations: 4 kB / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.7029, allocations: 0 / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7029, allocations: 0 / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.7032, allocations: 109.8 kB / 0.5719 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.7033, allocations: 92.88 kB / 0.572 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.7034, allocations: 11.98 kB / 0.572 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.7035, allocations: 8.375 kB / 0.572 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.7035, allocations: 11.92 kB / 0.572 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.7036, allocations: 0 / 0.572 GB, free: 6.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.7037, allocations: 133.7 kB / 0.5721 GB, free: 6.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7038, allocations: 0 / 0.5721 GB, free: 6.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.7041, allocations: 27.94 kB / 0.5722 GB, free: 6.57 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001773/0.7059, allocations: 0.9568 MB / 0.5731 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.7061, allocations: 47.91 kB / 0.5731 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.7062, allocations: 0 / 0.5731 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.7063, allocations: 23.98 kB / 0.5732 GB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.7067, allocations: 25.45 kB / 0.5732 GB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.7083, allocations: 0.8087 MB / 0.574 GB, free: 4.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.7087, allocations: 0.7043 MB / 0.5747 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.7088, allocations: 31.42 kB / 0.5747 GB, free: 3.969 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7088, allocations: 0 / 0.5747 GB, free: 3.969 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.714/3.423, allocations: 2.147 MB / 0.5768 GB, free: 1.828 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat