Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26",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.0008177/0.0008177, allocations: 96.78 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008395/0.0008397, allocations: 175.9 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.7 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3522/0.3522, allocations: 43.54 MB / 314.6 MB, free: 8.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005314, allocations: 12 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1284, allocations: 58.86 MB / 442.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test26): time 0.001746/0.1302, allocations: 1.267 MB / 444.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000489/0.1307, allocations: 295.8 kB / 444.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.1307, allocations: 0 / 444.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.131, allocations: 79.83 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1311, allocations: 47.88 kB / 444.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1314, allocations: 95.75 kB / 444.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.1315, allocations: 51.84 kB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.1316, allocations: 16.25 kB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.1316, allocations: 23.91 kB / 444.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.1317, allocations: 47.83 kB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1317, allocations: 0 / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.048e-05/0.1318, allocations: 27.98 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1319, allocations: 19.92 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.1319, allocations: 37.64 kB / 444.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.132, allocations: 63.84 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.132, allocations: 3.938 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.132, allocations: 0 / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.132, allocations: 0 / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003858/0.1324, allocations: 387 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1325, allocations: 8.031 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.1325, allocations: 38.5 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.1325, allocations: 15.84 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1327, allocations: 190.9 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1327, allocations: 0 / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1327, allocations: 4 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1329, allocations: 57.61 kB / 445.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1329, allocations: 0 / 445.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1329, allocations: 0 / 445.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1329, allocations: 3.953 kB / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.133, allocations: 27.98 kB / 445.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.1333, allocations: 285 kB / 445.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1335, allocations: 54.5 kB / 446 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.1336, allocations: 20.94 kB / 446 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1336, allocations: 0 / 446 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.1336, allocations: 38.52 kB / 446 MB, free: 9.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1337, allocations: 0 / 446 MB, free: 9.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005009/0.1342, allocations: 173.4 kB / 446.2 MB, free: 9.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1342, allocations: 55.41 kB / 446.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1344, allocations: 198.2 kB / 446.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1344, allocations: 25.7 kB / 446.5 MB, free: 9.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1345, allocations: 112.1 kB / 446.6 MB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.1345, allocations: 15.72 kB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.1345, allocations: 0 / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1347, allocations: 322.8 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.1347, allocations: 23.98 kB / 446.9 MB, free: 8.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.1348, allocations: 23.98 kB / 447 MB, free: 8.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.1349, allocations: 31.98 kB / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1349, allocations: 0 / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001782/0.1351, allocations: 101.5 kB / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1351, allocations: 7.953 kB / 447.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1351, allocations: 4 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.1351, allocations: 0 / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.1352, allocations: 19.98 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1352, allocations: 0 / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.1352, allocations: 7.938 kB / 447.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1353, allocations: 4 kB / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.166e-05/0.1354, allocations: 125.8 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1354, allocations: 11.91 kB / 447.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.1356, allocations: 113.8 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1356, allocations: 4 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1356, allocations: 0 / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1356, allocations: 0 / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.136, allocations: 378.7 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1361, allocations: 3.953 kB / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.1361, allocations: 23.98 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1361, allocations: 0 / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1361, allocations: 0 / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1361, allocations: 4 kB / 447.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1362, allocations: 0 / 447.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1364, allocations: 187.4 kB / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1364, allocations: 92.97 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1364, allocations: 0 / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.1365, allocations: 11.98 kB / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.1366, allocations: 4 kB / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1366, allocations: 0 / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1367, allocations: 164 kB / 448.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1367, allocations: 3.938 kB / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.137, allocations: 23.98 kB / 448.3 MB, free: 7.469 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001269/0.1382, allocations: 1.012 MB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1384, allocations: 63.95 kB / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1384, allocations: 0 / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.1385, allocations: 31.92 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.1388, allocations: 15.98 kB / 449.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1398, allocations: 0.7069 MB / 450.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.1402, allocations: 0.7004 MB / 450.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.995e-05/0.1403, allocations: 15.97 kB / 450.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.1404, allocations: 31.42 kB / 450.8 MB, free: 4.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1404, allocations: 4 kB / 450.8 MB, free: 4.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.1524, allocations: 2.317 MB / 453.2 MB, free: 2.512 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/0.1527, allocations: 215 kB / 453.4 MB, free: 2.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.861, allocations: 0 / 453.4 MB, free: 2.273 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26_res.mat does not exist to compare? outputFormat=mat