Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.0009746/0.0009746, allocations: 98.77 kB / 17 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.001113/0.001113, allocations: 178.2 kB / 17.89 MB, free: 5.945 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.427/1.427, allocations: 223.2 MB / 241.9 MB, free: 240 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.2402/0.2402, allocations: 44.23 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 17.25 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002273/0.13, allocations: 1.351 MB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1315, allocations: 0.7803 MB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1316, allocations: 7.938 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.132, allocations: 47.81 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.1322, allocations: 47.83 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1326, allocations: 83.58 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1329, allocations: 87.69 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.479e-05/0.133, allocations: 11.98 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1331, allocations: 35.8 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1332, allocations: 39.83 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1332, allocations: 0 / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1333, allocations: 24 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.1334, allocations: 15.92 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.1335, allocations: 33.7 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1336, allocations: 68.11 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.1336, allocations: 4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1337, allocations: 4 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1337, allocations: 3.938 kB / 474.3 MB, free: 10.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006048/0.1343, allocations: 394.8 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1343, allocations: 12.03 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.1344, allocations: 34.55 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.1344, allocations: 7.906 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1347, allocations: 190.9 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1347, allocations: 8 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1348, allocations: 7.953 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1349, allocations: 45.67 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1349, allocations: 0 / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.135, allocations: 4 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.135, allocations: 0 / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.135, allocations: 19.92 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.1353, allocations: 173.7 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1354, allocations: 54.61 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.1355, allocations: 20.84 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1355, allocations: 0 / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1358, allocations: 75.28 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1358, allocations: 0 / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002869/0.1361, allocations: 89.58 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1361, allocations: 59.41 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1363, allocations: 176.3 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1363, allocations: 25.7 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1364, allocations: 100.1 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1364, allocations: 7.906 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.1365, allocations: 4 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1366, allocations: 326.8 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.1366, allocations: 15.98 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.1367, allocations: 33.64 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.049e-05/0.1368, allocations: 19.98 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1368, allocations: 0 / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001428/0.1369, allocations: 73.59 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.137, allocations: 11.95 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.137, allocations: 0 / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.137, allocations: 0 / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.1371, allocations: 19.86 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1371, allocations: 8.031 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.1371, allocations: 3.906 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1372, allocations: 4 kB / 476.3 MB, free: 8.742 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 (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.0001029/0.1373, allocations: 122.4 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.1373, allocations: 7.906 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.1373, allocations: 16.27 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1373, allocations: 3.938 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1374, allocations: 0 / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1374, allocations: 4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.1375, allocations: 181.6 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1375, allocations: 3.984 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.1375, allocations: 4 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1376, allocations: 0 / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1376, allocations: 0 / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1376, allocations: 3.953 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1376, allocations: 3.938 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.1378, allocations: 113.4 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.1378, allocations: 89.02 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1378, allocations: 0 / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.1379, allocations: 7.984 kB / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.1379, allocations: 7.953 kB / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1379, allocations: 4 kB / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1381, allocations: 138.8 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1381, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1383, allocations: 20 kB / 477 MB, free: 7.93 MB / 350.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.001364/0.1397, allocations: 0.9506 MB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1398, allocations: 35.98 kB / 478 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1398, allocations: 0 / 478 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.1399, allocations: 27.92 kB / 478 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1402, allocations: 34.64 kB / 478 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1412, allocations: 0.6125 MB / 478.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1415, allocations: 0.6965 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.943e-05/0.1415, allocations: 12.55 kB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.1416, allocations: 27.38 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1416, allocations: 0 / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1565, allocations: 2.593 MB / 482 MB, free: 3.121 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.1568, allocations: 221.8 kB / 482.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/1.999, allocations: 0 / 482.2 MB, free: 2.875 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat