Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_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.001266/0.001266, allocations: 101 kB / 16.99 MB, free: 5.941 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.001279/0.001279, allocations: 183.5 kB / 17.88 MB, free: 5.609 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.437/1.437, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2324/0.2324, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003566, allocations: 13 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00234/0.1311, allocations: 1.348 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1326, allocations: 0.7764 MB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1327, allocations: 3.938 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.1331, allocations: 63.78 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1334, allocations: 47.86 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.1338, allocations: 91.7 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1341, allocations: 59.86 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.418e-05/0.1341, allocations: 11.98 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1342, allocations: 39.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1344, allocations: 31.84 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1344, allocations: 4 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1345, allocations: 23.92 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.1346, allocations: 19.92 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1346, allocations: 37.64 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1348, allocations: 72.11 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1348, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.046e-05/0.1348, allocations: 3.984 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1348, allocations: 7.938 kB / 474.2 MB, free: 10.98 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.0006103/0.1355, allocations: 387 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1355, allocations: 11.97 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.1356, allocations: 34.56 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1356, allocations: 11.91 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1359, allocations: 198.9 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1359, allocations: 4 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1359, allocations: 3.953 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1361, allocations: 61.61 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1361, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1362, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1362, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/0.1362, allocations: 12 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.1365, allocations: 181.6 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1366, allocations: 54.59 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1367, allocations: 4 kB / 475.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1369, allocations: 75.38 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1369, allocations: 0 / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002909/0.1372, allocations: 89.58 kB / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1372, allocations: 51.41 kB / 475.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1374, allocations: 186.1 kB / 475.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1375, allocations: 33.7 kB / 475.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1375, allocations: 108.1 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.1376, allocations: 7.812 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.1376, allocations: 4 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1377, allocations: 322.8 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.1378, allocations: 15.98 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.1378, allocations: 21.72 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.1379, allocations: 27.98 kB / 476 MB, free: 8.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1379, allocations: 0 / 476 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001538/0.138, allocations: 77.53 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1381, allocations: 7.953 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1381, allocations: 0 / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1381, allocations: 4 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.1382, allocations: 11.98 kB / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1382, allocations: 0 / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1383, allocations: 7.938 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1383, allocations: 4.031 kB / 476.2 MB, free: 8.77 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.0001158/0.1384, allocations: 126.4 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1384, allocations: 15.8 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.1385, allocations: 12.27 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1385, allocations: 0 / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1385, allocations: 3.938 kB / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1385, allocations: 0 / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.1387, allocations: 189.9 kB / 476.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1387, allocations: 4 kB / 476.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.1387, allocations: 7.938 kB / 476.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1387, allocations: 4 kB / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.1388, allocations: 0 / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1388, allocations: 3.953 kB / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1388, allocations: 0 / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.139, allocations: 105 kB / 476.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.139, allocations: 85.02 kB / 476.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1391, allocations: 11.98 kB / 476.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.1391, allocations: 4 kB / 476.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1392, allocations: 7.953 kB / 476.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1392, allocations: 0 / 476.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1393, allocations: 139.2 kB / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1393, allocations: 0 / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1396, allocations: 20 kB / 476.9 MB, free: 7.945 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.00172/0.1413, allocations: 0.9506 MB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.1416, allocations: 39.92 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1416, allocations: 0 / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.1417, allocations: 23.98 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1421, allocations: 19.94 kB / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1438, allocations: 0.7934 MB / 478.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.1443, allocations: 0.7043 MB / 479.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.1444, allocations: 16.53 kB / 479.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.1445, allocations: 31.42 kB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1445, allocations: 0 / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.1586, allocations: 2.629 MB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.1588, allocations: 220.7 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.821, allocations: 0 / 482.3 MB, free: 2.672 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat