Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001172/0.001172, allocations: 100.6 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.001403/0.001403, allocations: 183 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.436/1.436, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00243/0.1493, allocations: 1.39 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1522, allocations: 1.363 MB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.1524, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.153, allocations: 35.83 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.1534, allocations: 47.81 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.154, allocations: 95.75 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1543, allocations: 63.86 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1545, allocations: 12.22 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.1547, allocations: 31.86 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.1549, allocations: 35.84 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.155, allocations: 0 / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.1552, allocations: 39.92 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.1553, allocations: 19.91 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.1554, allocations: 45.62 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1558, allocations: 100.1 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1558, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1558, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1558, allocations: 0 / 474.8 MB, free: 10.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009272/0.1567, allocations: 394.9 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/0.1568, allocations: 12.03 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.216e-05/0.1569, allocations: 38.55 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.157, allocations: 7.906 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1573, allocations: 211.4 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1573, allocations: 0 / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1574, allocations: 11.89 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1575, allocations: 75.38 kB / 475.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1576, allocations: 0 / 475.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1576, allocations: 4 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1576, allocations: 0 / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.1577, allocations: 27.92 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.1581, allocations: 300.8 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1583, allocations: 70.66 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1584, allocations: 0 / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.1586, allocations: 87.38 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1586, allocations: 4 kB / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000602/0.1592, allocations: 193.3 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.1593, allocations: 77.11 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1595, allocations: 160.5 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1595, allocations: 25.7 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.1596, allocations: 100.1 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1596, allocations: 27.56 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.1596, allocations: 0 / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1598, allocations: 330.8 kB / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.1599, allocations: 23.98 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.16, allocations: 46.56 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.344e-05/0.1601, allocations: 31.94 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1601, allocations: 0 / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002397/0.1603, allocations: 113.5 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1604, allocations: 4 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.1604, allocations: 0 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1604, allocations: 4.188 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1605, allocations: 19.98 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1606, allocations: 7.938 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.1606, allocations: 4 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1607, allocations: 4 kB / 477.2 MB, free: 7.734 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 (11): * Single equations (assignments): 11 * 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.0001544/0.1608, allocations: 130.2 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.1609, allocations: 11.94 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.1609, allocations: 12.72 kB / 477.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1609, allocations: 4 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.161, allocations: 0 / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.161, allocations: 3.984 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.1616, allocations: 411.3 kB / 477.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1616, allocations: 0 / 477.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.1617, allocations: 15.94 kB / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1617, allocations: 4.031 kB / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1617, allocations: 3.984 kB / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1617, allocations: 4 kB / 477.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1617, allocations: 0 / 477.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.162, allocations: 229.8 kB / 478 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.162, allocations: 89 kB / 478.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.1621, allocations: 8 kB / 478.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.1622, allocations: 4 kB / 478.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1622, allocations: 7.984 kB / 478.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1622, allocations: 3.953 kB / 478.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1624, allocations: 125.9 kB / 478.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1624, allocations: 0 / 478.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1627, allocations: 35.98 kB / 478.3 MB, free: 6.539 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: 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 (9): * Single equations (assignments): 7 * 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.001607/0.1643, allocations: 1.242 MB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1645, allocations: 67.92 kB / 479.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1645, allocations: 0 / 479.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.1646, allocations: 36.05 kB / 479.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1649, allocations: 32.05 kB / 479.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1661, allocations: 0.8056 MB / 480.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1664, allocations: 0.7004 MB / 481.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.805e-05/0.1665, allocations: 32.88 kB / 481.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.1665, allocations: 31.42 kB / 481.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1666, allocations: 3.938 kB / 481.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.1822, allocations: 3.212 MB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.1825, allocations: 219 kB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.969, allocations: 0 / 484.6 MB, free: 376 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat