Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001063/0.001063, allocations: 94.16 kB / 17 MB, free: 6.355 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.00117/0.00117, allocations: 187.1 kB / 17.89 MB, free: 5.926 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.455/1.455, allocations: 223.2 MB / 241.9 MB, free: 248 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.2468/0.2468, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 11.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002223/0.1406, allocations: 1.27 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007117/0.1413, allocations: 383.5 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.1414, allocations: 4 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.1417, allocations: 115.8 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1419, allocations: 79.77 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1422, allocations: 75.84 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.1424, allocations: 71.8 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.1425, allocations: 16.17 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.1425, allocations: 39.89 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1427, allocations: 71.78 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1427, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.1428, allocations: 32 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.1429, allocations: 23.91 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1429, allocations: 41.64 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1431, allocations: 84.16 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1431, allocations: 0 / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1431, allocations: 0 / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1431, allocations: 0 / 473.9 MB, free: 11.32 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.0005379/0.1436, allocations: 418.7 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1437, allocations: 15.97 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.1437, allocations: 34.56 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1438, allocations: 11.81 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.144, allocations: 202.7 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.144, allocations: 4 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.144, allocations: 11.86 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1442, allocations: 49.69 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1442, allocations: 7.969 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1443, allocations: 4 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1443, allocations: 4 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.619e-05/0.1444, allocations: 27.92 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.1449, allocations: 304.8 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.145, allocations: 42.66 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.145, allocations: 16.84 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1451, allocations: 11.94 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1451, allocations: 30.56 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.1451, allocations: 0 / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009156/0.146, allocations: 261 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.1461, allocations: 55.41 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.1464, allocations: 270.2 kB / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.1465, allocations: 29.69 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1466, allocations: 112.1 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1466, allocations: 23.56 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.1466, allocations: 4 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1468, allocations: 326.8 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.1469, allocations: 39.92 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.1469, allocations: 27.97 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.147, allocations: 28 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.147, allocations: 0 / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002077/0.1472, allocations: 117.5 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1473, allocations: 8 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1473, allocations: 0 / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1473, allocations: 0 / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.1474, allocations: 19.98 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1474, allocations: 0 / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.1475, allocations: 4 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1475, allocations: 11.98 kB / 476.4 MB, free: 8.613 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.0001161/0.1476, allocations: 138.3 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1476, allocations: 11.81 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.1479, allocations: 127 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1479, allocations: 7.984 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1479, allocations: 0 / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1479, allocations: 3.938 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.1485, allocations: 423.1 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1485, allocations: 4.031 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.1486, allocations: 23.98 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1486, allocations: 0 / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1486, allocations: 0 / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1486, allocations: 4 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1486, allocations: 3.953 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1489, allocations: 216.6 kB / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.1489, allocations: 85.44 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1489, allocations: 8 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.149, allocations: 7.984 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.1491, allocations: 7.953 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1491, allocations: 8 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.1493, allocations: 203.2 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1493, allocations: 0 / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1495, allocations: 16 kB / 477.7 MB, free: 7.234 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.001411/0.151, allocations: 1.102 MB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1512, allocations: 75.88 kB / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1512, allocations: 0 / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.1513, allocations: 35.98 kB / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1516, allocations: 20.23 kB / 478.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.153, allocations: 0.8909 MB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1533, allocations: 0.716 MB / 480.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.274e-05/0.1533, allocations: 16.91 kB / 480.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.1534, allocations: 35.42 kB / 480.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1534, allocations: 0 / 480.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.1665, allocations: 2.843 MB / 483.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.1667, allocations: 216.7 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.023, allocations: 3.938 kB / 483.6 MB, free: 1.445 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat does not exist to compare? outputFormat=mat