Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.0009561/0.0009561, allocations: 96.44 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.0009303/0.0009305, allocations: 183.3 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.411/1.411, allocations: 223.2 MB / 241.8 MB, free: 384 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.2562/0.2562, allocations: 44.23 MB / 337.1 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002383/0.1464, allocations: 1.453 MB / 473 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1479, allocations: 0.8777 MB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.148, allocations: 3.938 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.1485, allocations: 287.4 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.1488, allocations: 199.5 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.1492, allocations: 142.6 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.1494, allocations: 159.6 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.1495, allocations: 13.56 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1496, allocations: 111.6 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1498, allocations: 143.6 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1499, allocations: 4 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.15, allocations: 31.88 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1501, allocations: 139.6 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.1501, allocations: 77.52 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1504, allocations: 271.8 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1504, allocations: 0 / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1504, allocations: 0 / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1504, allocations: 4 kB / 475.4 MB, free: 9.727 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.0009175/0.1514, allocations: 0.6765 MB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1514, allocations: 8.031 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.1515, allocations: 38.56 kB / 476.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.1515, allocations: 43.44 kB / 476.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.1522, allocations: 431 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1522, allocations: 4 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1522, allocations: 7.953 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1524, allocations: 91.34 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1524, allocations: 0 / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1524, allocations: 0 / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1525, allocations: 3.984 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1526, allocations: 35.91 kB / 476.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.153, allocations: 370.4 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.1532, allocations: 105.3 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1532, allocations: 3.938 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1535, allocations: 113.1 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.1535, allocations: 0 / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004464/0.1539, allocations: 196.9 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.154, allocations: 81.11 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.155, allocations: 1.03 MB / 478.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.155, allocations: 33.64 kB / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1552, allocations: 232.1 kB / 478.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.1552, allocations: 35.64 kB / 478.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.1552, allocations: 0 / 478.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1554, allocations: 374.8 kB / 479.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.1555, allocations: 31.92 kB / 479.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.1555, allocations: 47.42 kB / 479.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.379e-05/0.1556, allocations: 39.98 kB / 479.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1557, allocations: 3.938 kB / 479.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002706/0.1559, allocations: 169.5 kB / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.156, allocations: 4 kB / 479.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.156, allocations: 0 / 479.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.156, allocations: 7.984 kB / 479.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1561, allocations: 19.94 kB / 479.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1561, allocations: 4 kB / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1562, allocations: 20.02 kB / 479.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1563, allocations: 4 kB / 479.6 MB, free: 5.242 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.0001963/0.1565, allocations: 226.2 kB / 479.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.1565, allocations: 55.33 kB / 479.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.1566, allocations: 56 kB / 480 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1566, allocations: 4 kB / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1566, allocations: 0 / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1566, allocations: 0 / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.1569, allocations: 341.4 kB / 480.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1569, allocations: 4 kB / 480.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.157, allocations: 4 kB / 480.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.157, allocations: 4 kB / 480.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.157, allocations: 7.953 kB / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.157, allocations: 4 kB / 480.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.157, allocations: 3.984 kB / 480.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.1573, allocations: 203 kB / 480.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1575, allocations: 144.4 kB / 480.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.1575, allocations: 11.94 kB / 480.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.1576, allocations: 8 kB / 480.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1577, allocations: 7.984 kB / 480.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1577, allocations: 4 kB / 480.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.1584, allocations: 0.7683 MB / 481.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1584, allocations: 3.938 kB / 481.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1587, allocations: 44 kB / 481.5 MB, free: 3.254 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.00138/0.1601, allocations: 1.141 MB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1603, allocations: 83.83 kB / 482.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1603, allocations: 0 / 482.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.321e-05/0.1604, allocations: 39.98 kB / 482.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1607, allocations: 64.84 kB / 482.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.1643, allocations: 3.269 MB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1646, allocations: 0.8546 MB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.1648, allocations: 63.38 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.1649, allocations: 143.4 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.165, allocations: 0 / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.1838, allocations: 8.015 MB / 495.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.1841, allocations: 222.6 kB / 495.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.07, allocations: 0 / 495.4 MB, free: 5.52 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat