Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.0009191/0.0009191, allocations: 95.47 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.0009537/0.0009537, allocations: 180.9 kB / 17.87 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.65 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.2245/0.2245, allocations: 44.23 MB / 337.1 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 8.5 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002173/0.1324, allocations: 1.461 MB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1336, allocations: 0.8737 MB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.1337, allocations: 4 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.1342, allocations: 279.4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1345, allocations: 191.5 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1348, allocations: 143.1 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1351, allocations: 163.6 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.1352, allocations: 13.55 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1354, allocations: 115.6 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1356, allocations: 135.7 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1356, allocations: 4 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.313e-05/0.1357, allocations: 31.94 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.1359, allocations: 135.6 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.136, allocations: 77.45 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1362, allocations: 267.8 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1363, allocations: 0 / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1363, allocations: 0 / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1363, allocations: 0 / 475.4 MB, free: 9.785 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008589/0.1371, allocations: 0.6648 MB / 476.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1372, allocations: 8.031 kB / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.1372, allocations: 38.56 kB / 476.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.1373, allocations: 47.34 kB / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.1379, allocations: 415.2 kB / 476.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1379, allocations: 4 kB / 476.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1379, allocations: 7.953 kB / 476.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1381, allocations: 87.3 kB / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1381, allocations: 0 / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1381, allocations: 0 / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.1382, allocations: 4 kB / 476.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.772e-05/0.1383, allocations: 27.97 kB / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.1386, allocations: 378.3 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1389, allocations: 109.3 kB / 477.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.1389, allocations: 96 / 477.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.1392, allocations: 120.8 kB / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1392, allocations: 0 / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004661/0.1396, allocations: 193 kB / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1397, allocations: 81.11 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1408, allocations: 1.011 MB / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1408, allocations: 25.7 kB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.141, allocations: 224.1 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.141, allocations: 31.64 kB / 478.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.1411, allocations: 4 kB / 478.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1412, allocations: 362.8 kB / 479.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.1413, allocations: 31.98 kB / 479.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.722e-05/0.1414, allocations: 63.41 kB / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.469e-05/0.1415, allocations: 35.88 kB / 479.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1415, allocations: 0 / 479.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002656/0.1418, allocations: 164.9 kB / 479.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1418, allocations: 12.02 kB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1419, allocations: 4 kB / 479.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1419, allocations: 0 / 479.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.142, allocations: 27.92 kB / 479.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.142, allocations: 4 kB / 479.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.1421, allocations: 7.906 kB / 479.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1421, allocations: 4 kB / 479.5 MB, free: 5.367 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001983/0.1423, allocations: 222.3 kB / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.1424, allocations: 52.05 kB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/0.1425, allocations: 59.8 kB / 479.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1425, allocations: 4 kB / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1425, allocations: 0 / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1425, allocations: 0 / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.1428, allocations: 337.4 kB / 480.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1428, allocations: 8 kB / 480.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.1428, allocations: 7.938 kB / 480.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1428, allocations: 4 kB / 480.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1428, allocations: 0 / 480.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.1428, allocations: 3.953 kB / 480.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1429, allocations: 7.984 kB / 480.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1432, allocations: 214.9 kB / 480.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.1433, allocations: 136.5 kB / 480.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.1434, allocations: 15.94 kB / 480.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.1435, allocations: 8 kB / 480.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1435, allocations: 7.984 kB / 480.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1436, allocations: 4 kB / 480.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007946/0.1444, allocations: 0.7487 MB / 481.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1444, allocations: 4 kB / 481.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1446, allocations: 43.89 kB / 481.4 MB, free: 3.395 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001468/0.1461, allocations: 1.123 MB / 482.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1464, allocations: 79.89 kB / 482.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1464, allocations: 0 / 482.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.1465, allocations: 43.92 kB / 482.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1468, allocations: 62.27 kB / 482.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.1505, allocations: 3.189 MB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.151, allocations: 0.8507 MB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1511, allocations: 58.94 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.1513, allocations: 143.4 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.066e-06/0.1513, allocations: 0 / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.1714, allocations: 7.868 MB / 494.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.1716, allocations: 215 kB / 495 MB, free: 5.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.947, allocations: 4 kB / 495 MB, free: 5.914 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat