Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 97.06 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 173.4 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3474/0.3474, allocations: 43.55 MB / 314.5 MB, free: 8.828 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007017/0.0007018, allocations: 15.98 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1368, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00193/0.1388, allocations: 1.391 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1405, allocations: 1.309 MB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.1406, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1408, allocations: 31.89 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.141, allocations: 47.81 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.1412, allocations: 71.78 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1413, allocations: 59.86 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.1414, allocations: 12.22 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.1415, allocations: 39.84 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1416, allocations: 27.84 kB / 445.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1417, allocations: 4 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.1418, allocations: 43.86 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.1419, allocations: 15.91 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.142, allocations: 37.64 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1421, allocations: 88.09 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1421, allocations: 0 / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1421, allocations: 0 / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1421, allocations: 0 / 446 MB, free: 9.777 MB / 382.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.0004987/0.1426, allocations: 406.9 kB / 446.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1427, allocations: 12.03 kB / 446.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.1427, allocations: 34.55 kB / 446.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1428, allocations: 11.91 kB / 446.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1431, allocations: 191 kB / 446.7 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1432, allocations: 7.984 kB / 446.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1432, allocations: 4 kB / 446.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1434, allocations: 79.28 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1434, allocations: 0 / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1434, allocations: 0 / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1434, allocations: 0 / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.1435, allocations: 19.98 kB / 446.8 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1438, allocations: 280.9 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.144, allocations: 70.56 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.144, allocations: 0 / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.1442, allocations: 59.52 kB / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1442, allocations: 0 / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005149/0.1448, allocations: 177.1 kB / 447.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1448, allocations: 81.09 kB / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.145, allocations: 149.8 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.145, allocations: 29.7 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.1451, allocations: 96.12 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1451, allocations: 23.66 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.1451, allocations: 0 / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1452, allocations: 326.8 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.1453, allocations: 23.92 kB / 448.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.1453, allocations: 46.56 kB / 448.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.815e-05/0.1454, allocations: 24.06 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1454, allocations: 0 / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.1456, allocations: 101.7 kB / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1456, allocations: 11.94 kB / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1456, allocations: 3.938 kB / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1457, allocations: 0 / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.1457, allocations: 12 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1458, allocations: 4.062 kB / 448.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1458, allocations: 7.984 kB / 448.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1458, allocations: 4 kB / 448.3 MB, free: 7.277 MB / 382.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 () * Number of clocked 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.914e-05/0.1459, allocations: 125.8 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.146, allocations: 15.84 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.146, allocations: 16.7 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.146, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.146, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.146, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.1465, allocations: 395.7 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1465, allocations: 0 / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.1465, allocations: 15.98 kB / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1465, allocations: 0 / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1465, allocations: 4 kB / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1465, allocations: 0 / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1465, allocations: 0 / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1468, allocations: 221.9 kB / 449 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1469, allocations: 89 kB / 449.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1469, allocations: 4 kB / 449.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.147, allocations: 7.938 kB / 449.1 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.147, allocations: 7.984 kB / 449.1 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1471, allocations: 4 kB / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.364e-05/0.1472, allocations: 126.6 kB / 449.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1472, allocations: 0 / 449.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1475, allocations: 28 kB / 449.3 MB, free: 6.133 MB / 382.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001525/0.149, allocations: 1.215 MB / 450.5 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1492, allocations: 67.89 kB / 450.6 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1492, allocations: 4 kB / 450.6 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.1493, allocations: 23.94 kB / 450.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.1495, allocations: 27.92 kB / 450.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1506, allocations: 0.7667 MB / 451.4 MB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.151, allocations: 0.7083 MB / 452.1 MB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.058e-05/0.151, allocations: 17.33 kB / 452.1 MB, free: 3.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.1511, allocations: 31.42 kB / 452.2 MB, free: 3.199 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1511, allocations: 0 / 452.2 MB, free: 3.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.1698, allocations: 3.05 MB / 455.2 MB, free: 152 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2259/0.3957, allocations: 217 kB / 455.4 MB, free: 48.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.374, allocations: 0 / 455.4 MB, free: 48.15 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat