Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",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.002244/0.002244, allocations: 180.3 kB / 8.365 MB, free: 0.7109 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.22/2.22, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001634/0.001634, allocations: 86.55 kB / 262.1 MB, free: 13.86 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.2985/0.2985, allocations: 43.48 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.381e-05, allocations: 8.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4472, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.6694, allocations: 86.93 MB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/0.6698, allocations: 75.95 kB / 0.551 GB, free: 12.19 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03172/0.7016, allocations: 5.215 MB / 0.5561 GB, free: 6.98 MB / 395.1 MB Notification: Performance of FrontEnd: time 5.721e-06/0.7017, allocations: 0 / 0.5561 GB, free: 6.98 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.7017, allocations: 11.88 kB / 0.5561 GB, free: 6.969 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.0007835/0.7025, allocations: 394.9 kB / 0.5565 GB, free: 6.539 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.7026, allocations: 8.031 kB / 0.5565 GB, free: 6.531 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.7027, allocations: 11.91 kB / 0.5565 GB, free: 6.52 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.7032, allocations: 221.5 kB / 0.5567 GB, free: 6.266 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.7033, allocations: 4 kB / 0.5567 GB, free: 6.262 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.7033, allocations: 0 / 0.5567 GB, free: 6.262 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001349/0.7035, allocations: 19.98 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.7036, allocations: 49.67 kB / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.7037, allocations: 0 / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.7037, allocations: 3.938 kB / 0.5568 GB, free: 6.184 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.7037, allocations: 0 / 0.5568 GB, free: 6.184 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.7044, allocations: 273.5 kB / 0.557 GB, free: 5.879 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.7046, allocations: 54.62 kB / 0.5571 GB, free: 5.816 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.7047, allocations: 16.98 kB / 0.5571 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.7047, allocations: 0 / 0.5571 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.7049, allocations: 71.39 kB / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.705, allocations: 0 / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007849/0.7058, allocations: 153.1 kB / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.7058, allocations: 55.41 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.7062, allocations: 166.8 kB / 0.5575 GB, free: 5.324 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.7062, allocations: 25.7 kB / 0.5575 GB, free: 5.293 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.7064, allocations: 170.5 kB / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.7064, allocations: 19.72 kB / 0.5577 GB, free: 5.105 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.7065, allocations: 0 / 0.5577 GB, free: 5.105 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7067, allocations: 318.8 kB / 0.558 GB, free: 4.785 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.7068, allocations: 20 kB / 0.558 GB, free: 4.766 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.7069, allocations: 29.72 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.661e-05/0.707, allocations: 19.92 kB / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.707, allocations: 0 / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002986/0.7073, allocations: 89.58 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.7074, allocations: 8 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7074, allocations: 4.031 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.7074, allocations: 0 / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.7076, allocations: 19.92 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.7077, allocations: 4 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.7078, allocations: 0 / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.7078, allocations: 7.953 kB / 0.5582 GB, free: 4.574 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 0.0001286/0.708, allocations: 101 kB / 0.5583 GB, free: 4.469 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003525/0.7083, allocations: 97.58 kB / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.7084, allocations: 7.906 kB / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/0.7088, allocations: 118.2 kB / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.7089, allocations: 0 / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.7089, allocations: 4.047 kB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.7089, allocations: 7.938 kB / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.7098, allocations: 375.9 kB / 0.5589 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7098, allocations: 0 / 0.5589 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.7099, allocations: 8 kB / 0.5589 GB, free: 3.805 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.7099, allocations: 4 kB / 0.5589 GB, free: 3.801 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.71, allocations: 4.031 kB / 0.5589 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.71, allocations: 3.953 kB / 0.5589 GB, free: 3.793 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.71, allocations: 7.938 kB / 0.5589 GB, free: 3.785 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.7104, allocations: 202 kB / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.7106, allocations: 96.91 kB / 0.5592 GB, free: 3.449 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.7107, allocations: 7.953 kB / 0.5592 GB, free: 3.441 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.7109, allocations: 7.984 kB / 0.5592 GB, free: 3.434 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.7109, allocations: 15.86 kB / 0.5592 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.711, allocations: 4 kB / 0.5592 GB, free: 3.414 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002646/0.7113, allocations: 139.4 kB / 0.5594 GB, free: 3.277 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7113, allocations: 0 / 0.5594 GB, free: 3.277 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006515/0.7119, allocations: 28 kB / 0.5594 GB, free: 3.25 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.002675/0.7146, allocations: 1.115 MB / 0.5605 GB, free: 2.156 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003294/0.715, allocations: 47.94 kB / 0.5605 GB, free: 2.109 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7151, allocations: 0 / 0.5605 GB, free: 2.109 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.7152, allocations: 24 kB / 0.5606 GB, free: 2.086 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.7158, allocations: 27.83 kB / 0.5606 GB, free: 2.059 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.717, allocations: 264.6 kB / 0.5608 GB, free: 1.746 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.7176, allocations: 0.708 MB / 0.5615 GB, free: 1.012 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.7178, allocations: 35.42 kB / 0.5616 GB, free: 0.9766 MB / 395.1 MB Notification: Performance of SimCode: time 1.393e-06/0.7178, allocations: 0 / 0.5616 GB, free: 0.9766 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.798/3.515, allocations: 2.456 MB / 0.564 GB, free: 14.53 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat