Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001038/0.001038, allocations: 93.62 kB / 17 MB, free: 6.121 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.001264/0.001264, allocations: 183 kB / 17.89 MB, free: 5.699 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.447/1.447, allocations: 223.2 MB / 241.9 MB, free: 348 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.2116/0.2116, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004713, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002244/0.1377, allocations: 1.394 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1389, allocations: 0.7997 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.139, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1393, allocations: 79.83 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1396, allocations: 71.72 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1399, allocations: 91.83 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1401, allocations: 87.69 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.1402, allocations: 16.22 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1403, allocations: 47.77 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.1404, allocations: 43.83 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1404, allocations: 4 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1405, allocations: 35.98 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.1406, allocations: 15.92 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.1406, allocations: 37.64 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1408, allocations: 92.08 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1408, allocations: 0 / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1408, allocations: 0 / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1408, allocations: 0 / 474.5 MB, free: 10.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005118/0.1413, allocations: 410.8 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1414, allocations: 8.031 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.1414, allocations: 38.55 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.1415, allocations: 15.89 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.1417, allocations: 206.8 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1417, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.1417, allocations: 7.953 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1419, allocations: 53.67 kB / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1419, allocations: 0 / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1419, allocations: 3.938 kB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1419, allocations: 4 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.142, allocations: 23.98 kB / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1424, allocations: 288.8 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1425, allocations: 58.67 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.1426, allocations: 20.86 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1426, allocations: 4 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.1428, allocations: 63.39 kB / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.046e-06/0.1428, allocations: 0 / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.1433, allocations: 177.1 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1433, allocations: 51.41 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1436, allocations: 223.1 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.1436, allocations: 33.7 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.1437, allocations: 104 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1438, allocations: 23.73 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.1438, allocations: 4 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1439, allocations: 326.8 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.144, allocations: 27.92 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.682e-05/0.144, allocations: 33.7 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.348e-05/0.1441, allocations: 24 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1441, allocations: 0 / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002085/0.1443, allocations: 105.8 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1443, allocations: 4 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1443, allocations: 0 / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1444, allocations: 4 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1445, allocations: 20 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1445, allocations: 3.984 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.1445, allocations: 8.031 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1445, allocations: 0 / 476.8 MB, free: 8.23 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 (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 0.0001156/0.1447, allocations: 138.2 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.1447, allocations: 15.81 kB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.1447, allocations: 13.41 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1448, allocations: 0 / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1448, allocations: 0 / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1448, allocations: 4 kB / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.1452, allocations: 399.3 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1453, allocations: 4.188 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.1453, allocations: 8 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1453, allocations: 3.938 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1453, allocations: 0 / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1453, allocations: 0 / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1453, allocations: 4 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1456, allocations: 212.2 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.1456, allocations: 88.92 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1457, allocations: 4 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.1457, allocations: 4 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.1458, allocations: 11.97 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1458, allocations: 0 / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.146, allocations: 159.2 kB / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.146, allocations: 0 / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1463, allocations: 31.98 kB / 477.9 MB, free: 7.047 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 (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.001604/0.1479, allocations: 1.107 MB / 479 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1481, allocations: 51.97 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1481, allocations: 0 / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.1482, allocations: 31.92 kB / 479.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1485, allocations: 23.98 kB / 479.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.1499, allocations: 0.7634 MB / 479.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1502, allocations: 0.7043 MB / 480.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.1503, allocations: 24.44 kB / 480.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.1504, allocations: 35.42 kB / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1504, allocations: 0 / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.1639, allocations: 3.027 MB / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.1642, allocations: 213.9 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.007, allocations: 4 kB / 483.9 MB, free: 1.258 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat