Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.001036/0.001036, allocations: 102.2 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.0009924/0.0009924, allocations: 183.1 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.391/1.391, allocations: 223.2 MB / 241.8 MB, free: 360 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.2351/0.2351, allocations: 44.23 MB / 337.1 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004092, allocations: 12 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002471/0.147, allocations: 1.402 MB / 473 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1484, allocations: 0.7958 MB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1486, allocations: 3.938 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1489, allocations: 87.8 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.1492, allocations: 71.78 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.1496, allocations: 99.14 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1498, allocations: 67.84 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1499, allocations: 15.98 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1501, allocations: 47.83 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1502, allocations: 51.81 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1502, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1504, allocations: 36 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1505, allocations: 27.89 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.1506, allocations: 41.64 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1508, allocations: 104 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1508, allocations: 0 / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1508, allocations: 0 / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1508, allocations: 0 / 474.4 MB, free: 10.77 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.0006885/0.1515, allocations: 410.8 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1516, allocations: 16.03 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.1516, allocations: 30.56 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.1517, allocations: 11.81 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.152, allocations: 215.3 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.152, allocations: 3.984 kB / 475.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1521, allocations: 15.94 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1522, allocations: 57.61 kB / 475.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1523, allocations: 4 kB / 475.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1523, allocations: 3.938 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1523, allocations: 4 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.1524, allocations: 19.98 kB / 475.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1528, allocations: 300.7 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1531, allocations: 62.55 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1531, allocations: 3.938 kB / 475.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.1533, allocations: 71.52 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1533, allocations: 0 / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008108/0.1542, allocations: 241.6 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.1543, allocations: 55.41 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.1545, allocations: 222.6 kB / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1545, allocations: 29.7 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.1546, allocations: 112.1 kB / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.1547, allocations: 39.45 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.1547, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1549, allocations: 330.8 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.155, allocations: 27.98 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.1551, allocations: 57.58 kB / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.21e-05/0.1551, allocations: 31.94 kB / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1551, allocations: 4 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002283/0.1554, allocations: 121.6 kB / 476.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1554, allocations: 4 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1554, allocations: 0 / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1554, allocations: 0 / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.1555, allocations: 27.92 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1555, allocations: 0 / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.1556, allocations: 8 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1556, allocations: 4 kB / 476.9 MB, free: 8.031 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 (13): * Single equations (assignments): 13 * 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.0001262/0.1557, allocations: 141.8 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.1558, allocations: 11.81 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.1558, allocations: 21.39 kB / 477 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.1558, allocations: 4 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1559, allocations: 0 / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1559, allocations: 3.938 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.1565, allocations: 459.9 kB / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1565, allocations: 0 / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.1565, allocations: 15.94 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1565, allocations: 4 kB / 477.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1565, allocations: 0 / 477.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1565, allocations: 4 kB / 477.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1566, allocations: 3.984 kB / 477.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1568, allocations: 248.6 kB / 477.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.1569, allocations: 96.84 kB / 477.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.157, allocations: 11.95 kB / 477.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.157, allocations: 0 / 477.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1571, allocations: 11.98 kB / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1571, allocations: 12 kB / 477.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1573, allocations: 168.3 kB / 478.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1573, allocations: 0 / 478.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1575, allocations: 31.94 kB / 478.1 MB, free: 6.684 MB / 350.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 (11): * Single equations (assignments): 9 * 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.001803/0.1594, allocations: 1.343 MB / 479.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1596, allocations: 79.84 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1596, allocations: 0 / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.1597, allocations: 39.92 kB / 479.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.16, allocations: 28.36 kB / 479.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1614, allocations: 0.9914 MB / 480.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1618, allocations: 0.716 MB / 481.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.604e-05/0.1619, allocations: 24.62 kB / 481.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.1619, allocations: 43.42 kB / 481.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.162, allocations: 3.938 kB / 481.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.1766, allocations: 3.364 MB / 484.7 MB, free: 284 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003643/0.177, allocations: 216.9 kB / 484.9 MB, free: 36 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.908, allocations: 0 / 484.9 MB, free: 36 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat