Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",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.001086/0.001086, allocations: 96.78 kB / 17 MB, free: 6.418 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.001192/0.001192, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.385/1.385, allocations: 223.2 MB / 241.9 MB, free: 336 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.2239/0.2239, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 8.875 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001747/0.1316, allocations: 1.402 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1329, allocations: 0.792 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.133, allocations: 3.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1331, allocations: 31.89 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1333, allocations: 39.84 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1335, allocations: 91.81 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1337, allocations: 91.69 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.1338, allocations: 8.234 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.1338, allocations: 39.73 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.1339, allocations: 31.83 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1339, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.134, allocations: 32 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.134, allocations: 11.92 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1341, allocations: 45.64 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1342, allocations: 84.08 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1342, allocations: 4 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1342, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1342, allocations: 0 / 474.4 MB, free: 10.89 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.0004896/0.1347, allocations: 391 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1348, allocations: 15.97 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.1348, allocations: 30.56 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.1349, allocations: 11.81 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.135, allocations: 210.8 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1351, allocations: 4 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.1351, allocations: 7.953 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1352, allocations: 53.67 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1352, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1352, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1352, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.1353, allocations: 23.92 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1356, allocations: 284.9 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1358, allocations: 62.67 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.1358, allocations: 20.84 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1359, allocations: 3.984 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.136, allocations: 75.33 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.888e-06/0.1361, allocations: 4 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004257/0.1365, allocations: 173.2 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1365, allocations: 51.41 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1367, allocations: 178.2 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1367, allocations: 29.7 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.1368, allocations: 108.1 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1368, allocations: 23.7 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.1368, allocations: 3.938 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.137, allocations: 330.8 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.137, allocations: 16 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.1371, allocations: 37.7 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.1372, allocations: 27.97 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1372, allocations: 0 / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001681/0.1373, allocations: 101.4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1374, allocations: 4 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1374, allocations: 8.031 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.1374, allocations: 0 / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.1375, allocations: 15.98 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1375, allocations: 3.938 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.1375, allocations: 4 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1375, allocations: 8 kB / 476.6 MB, free: 8.379 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 9.212e-05/0.1376, allocations: 130.2 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1377, allocations: 7.906 kB / 476.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.1377, allocations: 12.88 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1377, allocations: 8 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.1377, allocations: 0 / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1377, allocations: 3.984 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.1381, allocations: 395.3 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1382, allocations: 4 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.1382, allocations: 4 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1382, allocations: 4 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1382, allocations: 32 / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1382, allocations: 4 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1382, allocations: 4 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.1384, allocations: 208.1 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.1385, allocations: 85.02 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1385, allocations: 8 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.1386, allocations: 0 / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.1386, allocations: 11.98 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1387, allocations: 4 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1388, allocations: 147.2 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1388, allocations: 0 / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.139, allocations: 20 kB / 477.7 MB, free: 7.23 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.001443/0.1405, allocations: 1.12 MB / 478.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.1406, allocations: 59.92 kB / 478.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1406, allocations: 0 / 478.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.1407, allocations: 27.98 kB / 478.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.141, allocations: 23.98 kB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.142, allocations: 0.6926 MB / 479.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1423, allocations: 0.7004 MB / 480.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.67e-05/0.1424, allocations: 24.81 kB / 480.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.1425, allocations: 35.42 kB / 480.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1425, allocations: 3.938 kB / 480.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.1543, allocations: 2.928 MB / 483.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.1545, allocations: 226.2 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.983, allocations: 0 / 483.5 MB, free: 1.586 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat