Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001007/0.001007, allocations: 96.55 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.001263/0.001264, allocations: 188.4 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.395/1.395, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005036, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1498, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002477/0.1524, allocations: 1.275 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.1533, allocations: 375.5 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.1533, allocations: 0 / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.1536, allocations: 123.7 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.1538, allocations: 75.83 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1541, allocations: 94.77 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1543, allocations: 59.84 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.1544, allocations: 16.17 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.1544, allocations: 39.89 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1546, allocations: 59.8 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1546, allocations: 0 / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.1547, allocations: 35.92 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.1547, allocations: 19.92 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.1547, allocations: 41.64 kB / 473.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1549, allocations: 84.16 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1549, allocations: 0 / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1549, allocations: 4 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1549, allocations: 0 / 473.8 MB, free: 11.33 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.0004631/0.1554, allocations: 406.8 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1554, allocations: 12.03 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.1555, allocations: 30.56 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1555, allocations: 19.75 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1557, allocations: 202.7 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1557, allocations: 4 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1558, allocations: 15.86 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1559, allocations: 57.67 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1559, allocations: 0 / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.156, allocations: 0 / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.156, allocations: 0 / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1561, allocations: 31.97 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1566, allocations: 316.7 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1567, allocations: 46.56 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1567, allocations: 0 / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1568, allocations: 34.56 kB / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1568, allocations: 4 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001022/0.1578, allocations: 277.4 kB / 475.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.1579, allocations: 51.41 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.1582, allocations: 270.2 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1582, allocations: 25.7 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.1583, allocations: 116.1 kB / 475.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.1583, allocations: 35.48 kB / 475.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1584, allocations: 0 / 475.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1585, allocations: 330.8 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.1586, allocations: 27.98 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.1587, allocations: 39.97 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.656e-05/0.1588, allocations: 35.98 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1588, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002223/0.159, allocations: 121.8 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.159, allocations: 8 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.159, allocations: 0 / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1591, allocations: 4 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.1592, allocations: 19.92 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1592, allocations: 7.938 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.1592, allocations: 7.984 kB / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1592, allocations: 4 kB / 476.3 MB, free: 8.598 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.0001191/0.1594, allocations: 146.3 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.1594, allocations: 15.8 kB / 476.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.1597, allocations: 139 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1597, allocations: 0 / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1597, allocations: 0 / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1597, allocations: 4 kB / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.1603, allocations: 443.1 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1603, allocations: 0 / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.1604, allocations: 19.98 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1604, allocations: 8.031 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1604, allocations: 0 / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1604, allocations: 0 / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1604, allocations: 0 / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.1607, allocations: 237.8 kB / 477.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.1608, allocations: 93 kB / 477.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1608, allocations: 4 kB / 477.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.1609, allocations: 4 kB / 477.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1609, allocations: 11.94 kB / 477.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1609, allocations: 12 kB / 477.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1611, allocations: 199.2 kB / 477.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1611, allocations: 0 / 477.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1614, allocations: 24 kB / 477.7 MB, free: 7.152 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.001549/0.163, allocations: 1.188 MB / 478.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1632, allocations: 87.92 kB / 478.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1632, allocations: 4 kB / 478.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.1633, allocations: 39.92 kB / 479 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1636, allocations: 20.19 kB / 479 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.165, allocations: 0.891 MB / 479.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1653, allocations: 0.7277 MB / 480.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.473e-05/0.1654, allocations: 20.64 kB / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.1654, allocations: 43.42 kB / 480.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1655, allocations: 0 / 480.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.1831, allocations: 2.881 MB / 483.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.1834, allocations: 219.3 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.96, allocations: 0 / 483.8 MB, free: 1.195 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat does not exist to compare? outputFormat=mat