Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",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.0009372/0.0009372, allocations: 96.86 kB / 15.7 MB, free: 468 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.0009654/0.0009654, allocations: 173.2 kB / 16.58 MB, free: 6.844 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.456/1.456, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.3699/0.3699, allocations: 43.54 MB / 314.6 MB, free: 9.039 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.0005626/0.0005627, allocations: 16 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1372, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002251/0.1395, allocations: 1.363 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1409, allocations: 0.7266 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.141, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1414, allocations: 47.86 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1416, allocations: 63.81 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1419, allocations: 67.84 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1421, allocations: 87.64 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1422, allocations: 11.97 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1423, allocations: 39.84 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1424, allocations: 35.78 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1424, allocations: 0 / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1425, allocations: 31.97 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.1426, allocations: 19.92 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.1427, allocations: 37.7 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1428, allocations: 68.12 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1428, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1428, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1429, allocations: 0 / 445.5 MB, free: 10.56 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006157/0.1435, allocations: 402.8 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1435, allocations: 8.031 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.1436, allocations: 30.56 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.1436, allocations: 7.906 kB / 445.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1439, allocations: 214.7 kB / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1439, allocations: 0 / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.144, allocations: 8 kB / 446.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1441, allocations: 41.69 kB / 446.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1441, allocations: 3.984 kB / 446.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1441, allocations: 11.83 kB / 446.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1442, allocations: 3.984 kB / 446.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/0.1442, allocations: 12 kB / 446.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.1445, allocations: 185.7 kB / 446.4 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1446, allocations: 50.61 kB / 446.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.1447, allocations: 20.84 kB / 446.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1447, allocations: 0 / 446.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.1449, allocations: 71.33 kB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.1449, allocations: 4 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002748/0.1452, allocations: 93.53 kB / 446.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.1453, allocations: 55.41 kB / 446.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1455, allocations: 186.1 kB / 446.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1455, allocations: 25.7 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.1456, allocations: 96.14 kB / 447 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1456, allocations: 11.89 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.1456, allocations: 4 kB / 447 MB, free: 8.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1458, allocations: 326.8 kB / 447.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.1458, allocations: 8 kB / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.1459, allocations: 37.62 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/0.1459, allocations: 16 kB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1459, allocations: 0 / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001523/0.1461, allocations: 77.58 kB / 447.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1461, allocations: 12.03 kB / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1461, allocations: 3.938 kB / 447.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1462, allocations: 0 / 447.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.1462, allocations: 8 kB / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1462, allocations: 7.953 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.1463, allocations: 3.906 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1463, allocations: 4 kB / 447.5 MB, free: 8.309 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 (7): * Single equations (assignments): 7 * 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.0001131/0.1464, allocations: 138.6 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1465, allocations: 7.906 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.1465, allocations: 20.3 kB / 447.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1465, allocations: 4 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1465, allocations: 0 / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1466, allocations: 3.953 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1467, allocations: 177.6 kB / 447.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1468, allocations: 4 kB / 447.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.1468, allocations: 0 / 447.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1468, allocations: 0 / 447.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1468, allocations: 11.98 kB / 447.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1468, allocations: 3.938 kB / 447.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1468, allocations: 0 / 447.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1471, allocations: 109.2 kB / 448 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.1472, allocations: 96.97 kB / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1472, allocations: 4 kB / 448.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.1472, allocations: 4 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1473, allocations: 3.984 kB / 448.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1473, allocations: 4 kB / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1474, allocations: 147.2 kB / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1474, allocations: 0 / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1477, allocations: 20 kB / 448.2 MB, free: 7.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001399/0.1491, allocations: 0.9499 MB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1493, allocations: 43.98 kB / 449.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1493, allocations: 0 / 449.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.1493, allocations: 23.92 kB / 449.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.1496, allocations: 19.98 kB / 449.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1507, allocations: 0.635 MB / 449.9 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1511, allocations: 0.6965 MB / 450.6 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.1512, allocations: 20.41 kB / 450.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.1513, allocations: 27.44 kB / 450.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1513, allocations: 0 / 450.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.1651, allocations: 2.645 MB / 453.3 MB, free: 2.348 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.1653, allocations: 221.3 kB / 453.5 MB, free: 2.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/1.946, allocations: 0 / 453.5 MB, free: 2.105 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat