Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.0008675/0.0008673, allocations: 101.1 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008835/0.0008838, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.22 MB / 337.2 MB, free: 2.582 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004929, allocations: 11.98 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001916/0.138, allocations: 1.394 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1391, allocations: 0.8036 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.1392, allocations: 0 / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.1394, allocations: 31.83 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.1396, allocations: 43.83 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1398, allocations: 91.83 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1399, allocations: 83.7 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.14, allocations: 20.19 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.1401, allocations: 35.8 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.1402, allocations: 23.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1402, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.1403, allocations: 39.97 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.1403, allocations: 15.92 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.1404, allocations: 41.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1405, allocations: 84.11 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1405, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1405, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1405, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.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.0004173/0.141, allocations: 394.9 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.141, allocations: 16.02 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1411, allocations: 38.5 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1411, allocations: 11.81 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1413, allocations: 206.8 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1413, allocations: 4 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1413, allocations: 7.953 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1415, allocations: 53.67 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1415, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1415, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1415, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/0.1416, allocations: 19.98 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1419, allocations: 288.9 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1421, allocations: 62.61 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.1421, allocations: 16.86 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1421, allocations: 0 / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.1423, allocations: 71.39 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1423, allocations: 0 / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004725/0.1428, allocations: 173.2 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.1428, allocations: 51.41 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.143, allocations: 186.2 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.143, allocations: 25.7 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.1431, allocations: 108.1 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.1431, allocations: 23.66 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.1431, allocations: 8 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.1432, allocations: 326.8 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.1433, allocations: 19.98 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.1433, allocations: 41.64 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.226e-05/0.1434, allocations: 20 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1434, allocations: 0 / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001662/0.1436, allocations: 105.4 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1436, allocations: 8 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1436, allocations: 0 / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1436, allocations: 4 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.1437, allocations: 16 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1437, allocations: 0 / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.1438, allocations: 8.359 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1438, allocations: 4 kB / 476.6 MB, free: 8.375 MB / 350.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 8.812e-05/0.1439, allocations: 130.5 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.1439, allocations: 11.91 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.1439, allocations: 20.64 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.144, allocations: 8 kB / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.144, allocations: 0 / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.144, allocations: 0 / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.1444, allocations: 383.5 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1444, allocations: 0 / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.1444, allocations: 15.98 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1444, allocations: 8.031 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1444, allocations: 0 / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1444, allocations: 0 / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1444, allocations: 80 / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1447, allocations: 216 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.1447, allocations: 93 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1447, allocations: 4 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.1448, allocations: 4 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1449, allocations: 11.98 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1449, allocations: 4 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.145, allocations: 139.2 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.145, allocations: 0 / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1452, allocations: 23.98 kB / 477.7 MB, free: 7.215 MB / 350.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.001306/0.1466, allocations: 1.103 MB / 478.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.1467, allocations: 59.97 kB / 478.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1467, allocations: 4 kB / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.1468, allocations: 31.91 kB / 478.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1471, allocations: 27.92 kB / 478.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.1481, allocations: 0.6922 MB / 479.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1484, allocations: 0.7083 MB / 480.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.363e-05/0.1485, allocations: 21.17 kB / 480.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.1485, allocations: 31.42 kB / 480.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1485, allocations: 0 / 480.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.1604, allocations: 2.924 MB / 483.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.1606, allocations: 215.4 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.044, allocations: 0 / 483.5 MB, free: 1.586 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat