Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.001284/0.001284, allocations: 95.27 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.001502/0.001502, allocations: 175.5 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.926/1.926, allocations: 205.4 MB / 222.7 MB, free: 5.617 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.3743/0.3743, allocations: 43.54 MB / 314.5 MB, free: 9.066 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.0005486/0.0005487, allocations: 24 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1278, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002133/0.13, allocations: 1.388 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1318, allocations: 1.297 MB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.1319, allocations: 4 kB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1322, allocations: 31.89 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1324, allocations: 47.81 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1326, allocations: 75.78 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1327, allocations: 59.86 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.1328, allocations: 12.22 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.1329, allocations: 35.84 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1331, allocations: 31.84 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1331, allocations: 8 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1332, allocations: 35.92 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.1332, allocations: 19.91 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.1333, allocations: 37.64 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1335, allocations: 92.08 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1335, allocations: 3.938 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1335, allocations: 0 / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1335, allocations: 0 / 446 MB, free: 10 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.0005383/0.134, allocations: 398.9 kB / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1341, allocations: 12.03 kB / 446.4 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.88e-05/0.1341, allocations: 38.55 kB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.1342, allocations: 7.906 kB / 446.5 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1344, allocations: 198.9 kB / 446.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1345, allocations: 0 / 446.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1345, allocations: 4 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1347, allocations: 71.34 kB / 446.7 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1347, allocations: 0 / 446.7 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1347, allocations: 4 kB / 446.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1347, allocations: 0 / 446.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.1348, allocations: 19.98 kB / 446.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1352, allocations: 276.9 kB / 447 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1354, allocations: 62.62 kB / 447.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1354, allocations: 4 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.1356, allocations: 67.52 kB / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.447e-06/0.1356, allocations: 0 / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005204/0.1361, allocations: 173.1 kB / 447.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1362, allocations: 81.11 kB / 447.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1363, allocations: 149.8 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1364, allocations: 29.7 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.1364, allocations: 100.1 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.1364, allocations: 27.64 kB / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.1365, allocations: 4 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1366, allocations: 318.8 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.1366, allocations: 19.98 kB / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.1367, allocations: 42.56 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.1368, allocations: 28.03 kB / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1368, allocations: 0 / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001648/0.1369, allocations: 101.9 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.137, allocations: 7.938 kB / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.137, allocations: 0 / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.137, allocations: 4 kB / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.1371, allocations: 20.17 kB / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1371, allocations: 0 / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.1371, allocations: 11.94 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1372, allocations: 8.031 kB / 448.3 MB, free: 7.508 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.363e-05/0.1373, allocations: 129.7 kB / 448.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1373, allocations: 7.906 kB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.009e-05/0.1373, allocations: 16.7 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1373, allocations: 0 / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1374, allocations: 4 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1374, allocations: 0 / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1378, allocations: 391.3 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1378, allocations: 3.984 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1378, allocations: 8 kB / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1378, allocations: 0 / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1379, allocations: 0 / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1379, allocations: 4 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1379, allocations: 240 / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1381, allocations: 225.8 kB / 449 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.1381, allocations: 93 kB / 449.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1382, allocations: 4 kB / 449.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1383, allocations: 0 / 449.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1383, allocations: 11.98 kB / 449.2 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1383, allocations: 4 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.569e-05/0.1384, allocations: 122.5 kB / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1384, allocations: 0 / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1387, allocations: 39.98 kB / 449.3 MB, free: 6.359 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.001493/0.1402, allocations: 1.212 MB / 450.5 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.1404, allocations: 51.97 kB / 450.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1404, allocations: 4.062 kB / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.1405, allocations: 31.92 kB / 450.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1407, allocations: 28.25 kB / 450.6 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1418, allocations: 0.7706 MB / 451.4 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.142, allocations: 0.6965 MB / 452.1 MB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.312e-05/0.1421, allocations: 24.86 kB / 452.1 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.1422, allocations: 31.42 kB / 452.2 MB, free: 3.434 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1422, allocations: 0 / 452.2 MB, free: 3.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.1557, allocations: 3.042 MB / 455.2 MB, free: 400 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.1559, allocations: 220.9 kB / 455.4 MB, free: 148 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.923, allocations: 8 kB / 455.4 MB, free: 140 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat