Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.001401/0.001402, allocations: 96.2 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.002463/0.002463, allocations: 176.6 kB / 16.57 MB, free: 6.379 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.522/1.522, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3152/0.3152, allocations: 43.54 MB / 314.5 MB, free: 8.723 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.0004684/0.0004685, allocations: 20 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002762/0.1365, allocations: 1.388 MB / 444.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1382, allocations: 0.7305 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.1383, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.1387, allocations: 35.81 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.1389, allocations: 35.91 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1393, allocations: 83.7 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1394, allocations: 55.86 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1396, allocations: 16.2 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.1397, allocations: 35.84 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.1398, allocations: 27.86 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1398, allocations: 4 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-05/0.1399, allocations: 23.94 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.14, allocations: 19.91 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.14, allocations: 33.7 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1402, allocations: 84.05 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1402, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.1402, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1402, allocations: 0 / 445.4 MB, free: 10.39 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.0006919/0.1409, allocations: 398.9 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.141, allocations: 12.02 kB / 445.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.1411, allocations: 34.55 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1411, allocations: 11.84 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1414, allocations: 195.5 kB / 446.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1415, allocations: 4 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.1415, allocations: 7.984 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1417, allocations: 57.61 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1417, allocations: 0 / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1417, allocations: 7.953 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1418, allocations: 0 / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.824e-05/0.1419, allocations: 19.98 kB / 446.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.1423, allocations: 280.8 kB / 446.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.1425, allocations: 54.61 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1426, allocations: 8.125 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.1428, allocations: 71.34 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1428, allocations: 0 / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006566/0.1435, allocations: 169.3 kB / 446.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1435, allocations: 51.41 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1437, allocations: 155 kB / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1438, allocations: 33.7 kB / 447 MB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.1439, allocations: 104.1 kB / 447.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1439, allocations: 23.66 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.1439, allocations: 4 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.144, allocations: 318.8 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.1441, allocations: 19.98 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.1441, allocations: 37.64 kB / 447.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1443, allocations: 24 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1443, allocations: 4 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/0.1445, allocations: 109.4 kB / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1445, allocations: 4 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1445, allocations: 0 / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1445, allocations: 0 / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.1446, allocations: 19.94 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1446, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1447, allocations: 11.98 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1447, allocations: 0 / 447.6 MB, free: 7.945 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.582e-05/0.1448, allocations: 121.9 kB / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1448, allocations: 11.86 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.1449, allocations: 16.89 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1449, allocations: 3.984 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1449, allocations: 7.938 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1449, allocations: 0 / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1453, allocations: 395.3 kB / 448.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1453, allocations: 0 / 448.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.1454, allocations: 11.94 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1454, allocations: 0 / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1454, allocations: 0 / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1454, allocations: 4 kB / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1454, allocations: 3.984 kB / 448.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1457, allocations: 222.2 kB / 448.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.1458, allocations: 88.92 kB / 448.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1458, allocations: 4 kB / 448.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1459, allocations: 3.984 kB / 448.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1459, allocations: 4 kB / 448.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1459, allocations: 4.375 kB / 448.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.13e-05/0.146, allocations: 128.5 kB / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 0 / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1463, allocations: 35.98 kB / 448.7 MB, free: 6.793 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.001475/0.1478, allocations: 1.165 MB / 449.8 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1479, allocations: 63.91 kB / 449.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.148, allocations: 0 / 449.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.148, allocations: 27.92 kB / 449.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1483, allocations: 24.05 kB / 449.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1494, allocations: 0.7932 MB / 450.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1497, allocations: 0.6965 MB / 451.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.1498, allocations: 21.17 kB / 451.5 MB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.1498, allocations: 31.42 kB / 451.5 MB, free: 3.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1499, allocations: 4 kB / 451.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1628, allocations: 2.794 MB / 454.3 MB, free: 1.102 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.163, allocations: 211.3 kB / 454.5 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.039, allocations: 8 kB / 454.5 MB, free: 0.8555 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat