Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",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.002598/0.002597, allocations: 178.8 kB / 8.363 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.142/2.142, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001197/0.001196, allocations: 88.02 kB / 262.1 MB, free: 13.89 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.3037/0.3037, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.684e-05, allocations: 8.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5522, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.7715, allocations: 86.96 MB / 0.5509 GB, free: 12.25 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/0.7719, allocations: 75.95 kB / 0.551 GB, free: 12.17 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03537/0.8073, allocations: 5.509 MB / 0.5564 GB, free: 6.664 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.8074, allocations: 0 / 0.5564 GB, free: 6.664 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.8074, allocations: 3.938 kB / 0.5564 GB, free: 6.66 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.0008595/0.8083, allocations: 410.8 kB / 0.5568 GB, free: 6.215 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.8084, allocations: 12.03 kB / 0.5568 GB, free: 6.203 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.8085, allocations: 15.81 kB / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.8091, allocations: 222.8 kB / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.8092, allocations: 0 / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.8092, allocations: 8 kB / 0.557 GB, free: 5.922 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001295/0.8094, allocations: 15.94 kB / 0.557 GB, free: 5.906 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.8096, allocations: 49.67 kB / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.8096, allocations: 0 / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.8096, allocations: 0 / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.8096, allocations: 0 / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.8103, allocations: 289.4 kB / 0.5574 GB, free: 5.531 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.8106, allocations: 50.62 kB / 0.5574 GB, free: 5.473 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.8107, allocations: 16.98 kB / 0.5574 GB, free: 5.453 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.8107, allocations: 0 / 0.5574 GB, free: 5.453 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.8109, allocations: 67.39 kB / 0.5575 GB, free: 5.375 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.945e-06/0.811, allocations: 0 / 0.5575 GB, free: 5.375 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008639/0.8118, allocations: 145.2 kB / 0.5576 GB, free: 5.227 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.8119, allocations: 51.41 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.8124, allocations: 213.6 kB / 0.5579 GB, free: 4.941 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.8125, allocations: 25.7 kB / 0.5579 GB, free: 4.91 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.8126, allocations: 162.6 kB / 0.5581 GB, free: 4.75 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.8127, allocations: 27.64 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-06/0.8127, allocations: 0 / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8129, allocations: 322.8 kB / 0.5584 GB, free: 4.398 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.813, allocations: 19.98 kB / 0.5584 GB, free: 4.379 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.8131, allocations: 33.7 kB / 0.5584 GB, free: 4.34 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.8133, allocations: 23.98 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8133, allocations: 0 / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000328/0.8136, allocations: 81.62 kB / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.8137, allocations: 4 kB / 0.5586 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.8137, allocations: 4.219 kB / 0.5586 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8137, allocations: 4 kB / 0.5586 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.8139, allocations: 19.98 kB / 0.5586 GB, free: 4.199 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.814, allocations: 0 / 0.5586 GB, free: 4.199 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.8141, allocations: 4 kB / 0.5586 GB, free: 4.195 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.8142, allocations: 3.953 kB / 0.5586 GB, free: 4.191 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.0001382/0.8143, allocations: 108.9 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003436/0.8147, allocations: 97.72 kB / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.8148, allocations: 11.91 kB / 0.5588 GB, free: 3.965 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.8152, allocations: 119.4 kB / 0.5589 GB, free: 3.844 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.8152, allocations: 4 kB / 0.5589 GB, free: 3.84 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.8153, allocations: 3.953 kB / 0.5589 GB, free: 3.836 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.8153, allocations: 0 / 0.5589 GB, free: 3.836 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009818/0.8163, allocations: 383.8 kB / 0.5593 GB, free: 3.414 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8163, allocations: 0 / 0.5593 GB, free: 3.414 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.8165, allocations: 19.98 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/0.8165, allocations: 4.031 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.8165, allocations: 0 / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.8166, allocations: 3.953 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8166, allocations: 4 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.8171, allocations: 210.2 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.8172, allocations: 101 kB / 0.5596 GB, free: 3.035 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.8173, allocations: 11.89 kB / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.8175, allocations: 4 kB / 0.5596 GB, free: 3.02 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.8176, allocations: 11.92 kB / 0.5596 GB, free: 3.008 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.8176, allocations: 4 kB / 0.5596 GB, free: 3.004 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003341/0.818, allocations: 159.2 kB / 0.5598 GB, free: 2.848 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.818, allocations: 0 / 0.5598 GB, free: 2.848 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006718/0.8187, allocations: 31.92 kB / 0.5598 GB, free: 2.816 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.002642/0.8214, allocations: 1.113 MB / 0.5609 GB, free: 1.711 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.8217, allocations: 55.92 kB / 0.561 GB, free: 1.656 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8218, allocations: 0 / 0.561 GB, free: 1.656 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.8219, allocations: 28 kB / 0.561 GB, free: 1.629 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.8225, allocations: 28.03 kB / 0.561 GB, free: 1.598 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.8238, allocations: 277.4 kB / 0.5613 GB, free: 1.281 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.8244, allocations: 0.7197 MB / 0.562 GB, free: 0.5352 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.8246, allocations: 39.42 kB / 0.562 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of SimCode: time 1.713e-06/0.8246, allocations: 0 / 0.562 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/3.625, allocations: 2.647 MB / 0.5646 GB, free: 13.86 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat