Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009094/0.0009093, allocations: 93.75 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009225/0.0009226, allocations: 193.7 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002615, allocations: 15.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 63.47 MB / 481.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00217/0.125, allocations: 1.45 MB / 483.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1268, allocations: 0.9402 MB / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1269, allocations: 0 / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.1274, allocations: 51.81 kB / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.1278, allocations: 79.72 kB / 484.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1282, allocations: 95.77 kB / 484.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.1284, allocations: 107.7 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1286, allocations: 15.97 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1287, allocations: 43.78 kB / 484.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1288, allocations: 51.77 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1289, allocations: 0 / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.129, allocations: 47.98 kB / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.1291, allocations: 27.91 kB / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.1292, allocations: 49.58 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.1294, allocations: 116 kB / 484.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1294, allocations: 0 / 484.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1294, allocations: 0 / 484.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1295, allocations: 0 / 484.7 MB, free: 2.145 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008016/0.1303, allocations: 414.9 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.1303, allocations: 8.031 kB / 485.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.622e-05/0.1304, allocations: 34.56 kB / 485.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.1305, allocations: 15.81 kB / 485.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1308, allocations: 226.7 kB / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1309, allocations: 0 / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.131, allocations: 11.98 kB / 485.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1312, allocations: 69.66 kB / 485.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1312, allocations: 0 / 485.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1312, allocations: 0 / 485.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1312, allocations: 7.938 kB / 485.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1314, allocations: 43.95 kB / 485.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.132, allocations: 332.6 kB / 485.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.1324, allocations: 90.56 kB / 485.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.637e-05/0.1325, allocations: 28.84 kB / 486 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.1325, allocations: 4 kB / 486 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.1328, allocations: 79.38 kB / 486.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.1328, allocations: 0 / 486.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008824/0.1337, allocations: 297.5 kB / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1338, allocations: 51.41 kB / 486.4 MB, free: 276 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.134, allocations: 194.8 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.134, allocations: 29.7 kB / 486.6 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1341, allocations: 108.4 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1341, allocations: 43.5 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.1342, allocations: 12 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1344, allocations: 326.8 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.1345, allocations: 35.98 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-05/0.1346, allocations: 49.7 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.1347, allocations: 51.55 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1347, allocations: 0 / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002582/0.1349, allocations: 153.6 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.135, allocations: 4 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.135, allocations: 4 kB / 487.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.135, allocations: 3.953 kB / 487.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.1351, allocations: 27.92 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1351, allocations: 3.984 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.1352, allocations: 4 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1352, allocations: 8 kB / 487.4 MB, free: 15.2 MB / 366.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 (15): * Single equations (assignments): 15 * 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.000136/0.1353, allocations: 133.9 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1353, allocations: 15.75 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.1354, allocations: 21.52 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1354, allocations: 4 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.1354, allocations: 3.953 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1355, allocations: 0 / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/0.1363, allocations: 484 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.1364, allocations: 8.047 kB / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.1364, allocations: 19.95 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1364, allocations: 0 / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1365, allocations: 4 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1365, allocations: 0 / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.1365, allocations: 7.922 kB / 488.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.1369, allocations: 253 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.1371, allocations: 88.95 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.1371, allocations: 11.95 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.1372, allocations: 4 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.1373, allocations: 16.25 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.1373, allocations: 7.984 kB / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1375, allocations: 144.3 kB / 488.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1375, allocations: 3.938 kB / 488.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1379, allocations: 40 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.00198/0.1399, allocations: 1.185 MB / 489.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1402, allocations: 103.9 kB / 490 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1402, allocations: 0 / 490 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1403, allocations: 51.92 kB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1407, allocations: 36.11 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.1424, allocations: 0.8731 MB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.1428, allocations: 0.7088 MB / 491.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.1429, allocations: 29.39 kB / 491.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.143, allocations: 47.42 kB / 491.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.143, allocations: 4 kB / 491.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.1568, allocations: 3.588 MB / 495.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.1571, allocations: 218.8 kB / 495.5 MB, free: 7.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.058, allocations: 0 / 495.5 MB, free: 7.188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat