Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.00121/0.00121, allocations: 95.62 kB / 16.98 MB, free: 5.938 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.001255/0.001255, allocations: 186.6 kB / 17.88 MB, free: 5.594 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.433/1.433, allocations: 223.2 MB / 241.8 MB, free: 412 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.257/0.257, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 12.89 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002177/0.1375, allocations: 1.275 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006793/0.1382, allocations: 379.6 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.1382, allocations: 0 / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1385, allocations: 83.75 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.1387, allocations: 59.86 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.139, allocations: 99.25 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1391, allocations: 55.86 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1393, allocations: 8.172 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.1393, allocations: 35.91 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.1394, allocations: 39.84 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1394, allocations: 0 / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.973e-05/0.1395, allocations: 35.86 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1396, allocations: 19.91 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1396, allocations: 33.7 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.1398, allocations: 80.11 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1398, allocations: 0 / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1398, allocations: 0 / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1398, allocations: 0 / 473.7 MB, free: 11.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004972/0.1403, allocations: 395 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1403, allocations: 8.031 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1404, allocations: 34.56 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1404, allocations: 19.75 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1406, allocations: 195.5 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1407, allocations: 4 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1407, allocations: 3.953 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1408, allocations: 61.61 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1408, allocations: 4 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1409, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.1409, allocations: 4 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.141, allocations: 31.97 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.1414, allocations: 304.7 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1415, allocations: 58.58 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1416, allocations: 3.984 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1416, allocations: 30.56 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1416, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009226/0.1425, allocations: 257.1 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1426, allocations: 59.39 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1428, allocations: 220 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1428, allocations: 29.7 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.1429, allocations: 112 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.143, allocations: 27.64 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.143, allocations: 8 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1431, allocations: 326.8 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.1432, allocations: 31.98 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.1433, allocations: 35.91 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/0.1434, allocations: 44.05 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1434, allocations: 0 / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002294/0.1436, allocations: 117.5 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1437, allocations: 4 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1437, allocations: 0 / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1437, allocations: 0 / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1438, allocations: 23.98 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1438, allocations: 3.938 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.1439, allocations: 19.92 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1439, allocations: 0 / 476.1 MB, free: 8.816 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0001264/0.144, allocations: 138.2 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.1441, allocations: 11.91 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.1444, allocations: 139.2 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1444, allocations: 4 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1444, allocations: 0 / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1444, allocations: 0 / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.145, allocations: 431.2 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.145, allocations: 0 / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.1451, allocations: 27.92 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1451, allocations: 0 / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1451, allocations: 4 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1451, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1451, allocations: 8.031 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1454, allocations: 237.8 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.1455, allocations: 85.02 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1455, allocations: 4 kB / 477.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.1456, allocations: 11.98 kB / 477.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.1456, allocations: 7.953 kB / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1456, allocations: 4 kB / 477.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1458, allocations: 171.5 kB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.1458, allocations: 0 / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1461, allocations: 27.94 kB / 477.4 MB, free: 7.418 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00158/0.1477, allocations: 1.18 MB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1479, allocations: 83.89 kB / 478.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1479, allocations: 3.938 kB / 478.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.148, allocations: 39.98 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1483, allocations: 19.94 kB / 478.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.1496, allocations: 0.8065 MB / 479.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.15, allocations: 0.7277 MB / 480.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.1501, allocations: 16.66 kB / 480.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.1502, allocations: 35.42 kB / 480.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1502, allocations: 0 / 480.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.163, allocations: 2.676 MB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.1632, allocations: 217.7 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.895, allocations: 0 / 483.2 MB, free: 1.785 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat does not exist to compare? outputFormat=mat