Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.000908/0.0009079, allocations: 98.11 kB / 16.99 MB, free: 6.402 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.0008402/0.0008403, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.445/1.445, allocations: 223.2 MB / 241.8 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001894/0.1406, allocations: 1.391 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1418, allocations: 0.792 MB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.1419, allocations: 3.938 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.1422, allocations: 27.84 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1423, allocations: 43.88 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1426, allocations: 95.7 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1427, allocations: 67.84 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.1428, allocations: 4.234 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.1429, allocations: 35.84 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.143, allocations: 27.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.143, allocations: 0 / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.1431, allocations: 27.98 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.1431, allocations: 19.91 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.1432, allocations: 41.64 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1433, allocations: 80.11 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1433, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1433, allocations: 3.938 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1433, allocations: 0 / 474.2 MB, free: 11 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.000447/0.1438, allocations: 395 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1438, allocations: 12.03 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1439, allocations: 38.5 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1439, allocations: 11.81 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1441, allocations: 214.8 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1441, allocations: 0 / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1442, allocations: 7.953 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1443, allocations: 53.67 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1443, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1443, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1443, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/0.1444, allocations: 23.97 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1447, allocations: 288.8 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1449, allocations: 58.67 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1449, allocations: 0 / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1451, allocations: 71.45 kB / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1451, allocations: 0 / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004793/0.1456, allocations: 173.2 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1457, allocations: 55.34 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1458, allocations: 186.1 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1459, allocations: 25.7 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1459, allocations: 112.1 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1459, allocations: 19.7 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.146, allocations: 4 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1461, allocations: 326.8 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.1461, allocations: 20 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.1462, allocations: 33.7 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.1463, allocations: 23.98 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1463, allocations: 4 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001665/0.1464, allocations: 97.44 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1465, allocations: 4 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.1465, allocations: 4.031 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1465, allocations: 4 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.1466, allocations: 19.98 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1466, allocations: 0 / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1467, allocations: 4 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1467, allocations: 0 / 476.4 MB, free: 8.523 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 0.0001048/0.1468, allocations: 138.2 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.1468, allocations: 8.094 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.1469, allocations: 12.72 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1469, allocations: 11.94 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1469, allocations: 384 / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1469, allocations: 3.984 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.1473, allocations: 391.3 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1473, allocations: 4 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.1473, allocations: 8 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1474, allocations: 0 / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1474, allocations: 4 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1474, allocations: 4.031 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1474, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1476, allocations: 230 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1477, allocations: 85.02 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1477, allocations: 8 kB / 477.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1478, allocations: 4 kB / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.1478, allocations: 7.984 kB / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1479, allocations: 7.938 kB / 477.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.148, allocations: 147.1 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1482, allocations: 24 kB / 477.5 MB, free: 7.332 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.001389/0.1496, allocations: 1.174 MB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1498, allocations: 51.98 kB / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1498, allocations: 0 / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.1499, allocations: 35.92 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.1502, allocations: 27.88 kB / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1514, allocations: 0.8432 MB / 479.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1517, allocations: 0.7121 MB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.1517, allocations: 17.17 kB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.1518, allocations: 31.42 kB / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1518, allocations: 0 / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.1695, allocations: 2.908 MB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.1698, allocations: 215.5 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.915, allocations: 0 / 483.5 MB, free: 1.492 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat