Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",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.002346/0.002346, allocations: 179.4 kB / 8.364 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.128/2.128, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001096/0.001096, allocations: 89.02 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.3003/0.3003, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.447e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4109, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.5753, allocations: 86.93 MB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5757, allocations: 79.89 kB / 0.551 GB, free: 12.19 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.5997, allocations: 5.271 MB / 0.5561 GB, free: 6.926 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5997, allocations: 0 / 0.5561 GB, free: 6.926 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.5998, allocations: 7.938 kB / 0.5561 GB, free: 6.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005944/0.6004, allocations: 398.8 kB / 0.5565 GB, free: 6.484 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.6004, allocations: 16.02 kB / 0.5565 GB, free: 6.469 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.6005, allocations: 7.906 kB / 0.5565 GB, free: 6.461 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.6009, allocations: 215.4 kB / 0.5567 GB, free: 6.207 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.601, allocations: 7.984 kB / 0.5567 GB, free: 6.199 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.601, allocations: 0 / 0.5567 GB, free: 6.199 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/0.6011, allocations: 24 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.6012, allocations: 49.67 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6013, allocations: 0 / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.6013, allocations: 0 / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.6013, allocations: 4 kB / 0.5568 GB, free: 6.117 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.6018, allocations: 269.4 kB / 0.5571 GB, free: 5.816 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.6019, allocations: 54.69 kB / 0.5571 GB, free: 5.754 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.602, allocations: 16.98 kB / 0.5571 GB, free: 5.734 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.602, allocations: 3.984 kB / 0.5571 GB, free: 5.73 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.6022, allocations: 71.33 kB / 0.5572 GB, free: 5.648 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.6022, allocations: 0 / 0.5572 GB, free: 5.648 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005829/0.6028, allocations: 145.3 kB / 0.5573 GB, free: 5.5 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.6029, allocations: 51.41 kB / 0.5574 GB, free: 5.438 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.6032, allocations: 186.3 kB / 0.5576 GB, free: 5.242 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.6032, allocations: 25.7 kB / 0.5576 GB, free: 5.211 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.6033, allocations: 166.6 kB / 0.5578 GB, free: 5.047 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.6034, allocations: 23.64 kB / 0.5578 GB, free: 5.023 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.6034, allocations: 4 kB / 0.5578 GB, free: 5.02 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6036, allocations: 314.8 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.6036, allocations: 23.94 kB / 0.5581 GB, free: 4.68 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.6037, allocations: 33.7 kB / 0.5581 GB, free: 4.641 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.727e-05/0.6038, allocations: 15.98 kB / 0.5582 GB, free: 4.625 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6038, allocations: 4 kB / 0.5582 GB, free: 4.621 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002198/0.604, allocations: 81.86 kB / 0.5582 GB, free: 4.535 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6041, allocations: 12.03 kB / 0.5582 GB, free: 4.523 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6041, allocations: 3.938 kB / 0.5583 GB, free: 4.52 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6041, allocations: 3.938 kB / 0.5583 GB, free: 4.516 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.6043, allocations: 15.98 kB / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.6043, allocations: 4 kB / 0.5583 GB, free: 4.496 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.6044, allocations: 0 / 0.5583 GB, free: 4.496 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.6044, allocations: 7.953 kB / 0.5583 GB, free: 4.488 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.462e-05/0.6045, allocations: 105 kB / 0.5584 GB, free: 4.379 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002288/0.6048, allocations: 105.4 kB / 0.5585 GB, free: 4.27 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.6048, allocations: 7.906 kB / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.6051, allocations: 103.5 kB / 0.5586 GB, free: 4.156 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6052, allocations: 7.938 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6052, allocations: 3.953 kB / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6052, allocations: 0 / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.6058, allocations: 379.8 kB / 0.559 GB, free: 3.727 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6058, allocations: 0 / 0.559 GB, free: 3.727 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.6059, allocations: 16.16 kB / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.6059, allocations: 4 kB / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.606, allocations: 4 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.606, allocations: 3.953 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.606, allocations: 0 / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.6063, allocations: 214 kB / 0.5592 GB, free: 3.465 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.6064, allocations: 96.91 kB / 0.5593 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.6065, allocations: 7.953 kB / 0.5593 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.6066, allocations: 3.984 kB / 0.5593 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.6067, allocations: 7.938 kB / 0.5593 GB, free: 3.332 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.6067, allocations: 8 kB / 0.5593 GB, free: 3.324 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.6069, allocations: 144.9 kB / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6069, allocations: 0 / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.6073, allocations: 31.92 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00174/0.6091, allocations: 1.11 MB / 0.5606 GB, free: 2.062 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.6093, allocations: 51.94 kB / 0.5606 GB, free: 2.012 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6094, allocations: 4 kB / 0.5606 GB, free: 2.008 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.6094, allocations: 31.92 kB / 0.5606 GB, free: 1.977 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.6099, allocations: 27.97 kB / 0.5607 GB, free: 1.949 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.6107, allocations: 257.3 kB / 0.5609 GB, free: 1.656 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.6111, allocations: 0.708 MB / 0.5616 GB, free: 0.9219 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.6112, allocations: 35.42 kB / 0.5616 GB, free: 0.8867 MB / 395.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6112, allocations: 0 / 0.5616 GB, free: 0.8867 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.624/3.235, allocations: 2.527 MB / 0.5641 GB, free: 14.37 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat