Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",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.001428/0.001433, allocations: 178.4 kB / 8.362 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.229/2.229, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001108/0.001108, allocations: 94.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.2997/0.2997, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.04e-05, allocations: 4.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4266, allocations: 58.86 MB / 477.2 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.5968, allocations: 86.97 MB / 0.5509 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5971, allocations: 67.97 kB / 0.551 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02374/0.6209, allocations: 5.336 MB / 0.5562 GB, free: 6.902 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6209, allocations: 0 / 0.5562 GB, free: 6.902 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.621, allocations: 11.92 kB / 0.5562 GB, free: 6.891 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.0005913/0.6216, allocations: 390.9 kB / 0.5566 GB, free: 6.465 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6216, allocations: 12.03 kB / 0.5566 GB, free: 6.453 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.6217, allocations: 7.906 kB / 0.5566 GB, free: 6.445 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.6221, allocations: 221.6 kB / 0.5568 GB, free: 6.191 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.6221, allocations: 4 kB / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.6222, allocations: 0 / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.6223, allocations: 27.92 kB / 0.5569 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.6224, allocations: 49.67 kB / 0.5569 GB, free: 6.105 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6224, allocations: 3.984 kB / 0.5569 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.6225, allocations: 0 / 0.5569 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6225, allocations: 0 / 0.5569 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.6229, allocations: 273.4 kB / 0.5572 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.6231, allocations: 50.69 kB / 0.5572 GB, free: 5.738 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.6232, allocations: 16.98 kB / 0.5572 GB, free: 5.719 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.6232, allocations: 0 / 0.5572 GB, free: 5.719 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.6234, allocations: 79.33 kB / 0.5573 GB, free: 5.629 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.6234, allocations: 0 / 0.5573 GB, free: 5.629 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005591/0.624, allocations: 137.2 kB / 0.5574 GB, free: 5.488 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.624, allocations: 59.41 kB / 0.5575 GB, free: 5.418 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.6243, allocations: 166.8 kB / 0.5577 GB, free: 5.25 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.6243, allocations: 29.69 kB / 0.5577 GB, free: 5.215 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.6244, allocations: 162.6 kB / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.6244, allocations: 19.72 kB / 0.5579 GB, free: 5.035 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.6245, allocations: 0 / 0.5579 GB, free: 5.035 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6246, allocations: 322.8 kB / 0.5582 GB, free: 4.711 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.6247, allocations: 19.94 kB / 0.5582 GB, free: 4.691 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.6248, allocations: 33.72 kB / 0.5582 GB, free: 4.652 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.6248, allocations: 15.98 kB / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6249, allocations: 0 / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.6251, allocations: 93.64 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.6251, allocations: 8 kB / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6251, allocations: 4.031 kB / 0.5583 GB, free: 4.527 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6252, allocations: 3.938 kB / 0.5583 GB, free: 4.523 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.6253, allocations: 15.98 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.6253, allocations: 4 kB / 0.5584 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.6254, allocations: 0 / 0.5584 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.6255, allocations: 7.953 kB / 0.5584 GB, free: 4.496 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 8.632e-05/0.6256, allocations: 101 kB / 0.5585 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002177/0.6258, allocations: 97.52 kB / 0.5586 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.6258, allocations: 11.91 kB / 0.5586 GB, free: 4.277 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.6262, allocations: 118.2 kB / 0.5587 GB, free: 4.156 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6262, allocations: 3.938 kB / 0.5587 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6262, allocations: 3.953 kB / 0.5587 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6262, allocations: 0 / 0.5587 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.6268, allocations: 371.9 kB / 0.559 GB, free: 3.738 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6268, allocations: 0 / 0.559 GB, free: 3.738 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.6269, allocations: 15.94 kB / 0.5591 GB, free: 3.723 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.6269, allocations: 8.031 kB / 0.5591 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.627, allocations: 0 / 0.5591 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.627, allocations: 3.953 kB / 0.5591 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.627, allocations: 4 kB / 0.5591 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.6273, allocations: 209.9 kB / 0.5593 GB, free: 3.477 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.6274, allocations: 92.92 kB / 0.5594 GB, free: 3.367 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.6274, allocations: 7.953 kB / 0.5594 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.6276, allocations: 7.984 kB / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.6276, allocations: 7.938 kB / 0.5594 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.6276, allocations: 4.188 kB / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.6278, allocations: 139.4 kB / 0.5595 GB, free: 3.203 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6278, allocations: 0 / 0.5595 GB, free: 3.203 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.6282, allocations: 24 kB / 0.5595 GB, free: 3.18 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.001716/0.63, allocations: 1.112 MB / 0.5606 GB, free: 2.086 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.6302, allocations: 55.92 kB / 0.5607 GB, free: 2.031 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6302, allocations: 0 / 0.5607 GB, free: 2.031 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.6303, allocations: 31.92 kB / 0.5607 GB, free: 2 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.6307, allocations: 27.94 kB / 0.5607 GB, free: 1.977 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.6315, allocations: 256.7 kB / 0.561 GB, free: 1.672 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.6319, allocations: 0.708 MB / 0.5617 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.632, allocations: 35.42 kB / 0.5617 GB, free: 0.9023 MB / 395.1 MB Notification: Performance of SimCode: time 7.91e-07/0.632, allocations: 0 / 0.5617 GB, free: 0.9023 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.632/3.264, allocations: 2.456 MB / 0.5641 GB, free: 14.45 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat