Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008219/0.0008219, allocations: 91.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009211/0.0009211, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1963/0.1963, allocations: 46.18 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002553, allocations: 8.375 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1286, allocations: 63.56 MB / 483.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002129/0.1308, allocations: 1.393 MB / 484.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1318, allocations: 0.5807 MB / 485.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.1319, allocations: 0 / 485.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005391/0.1325, allocations: 451.2 kB / 485.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.1329, allocations: 283.4 kB / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.1334, allocations: 163 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.1336, allocations: 179.6 kB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1338, allocations: 20.22 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.1339, allocations: 111.7 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1342, allocations: 203.6 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1342, allocations: 0 / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1343, allocations: 51.97 kB / 486.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1344, allocations: 87.61 kB / 486.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.1345, allocations: 132.7 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1348, allocations: 275 kB / 487.1 MB, free: 188 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1348, allocations: 7.938 kB / 487.1 MB, free: 180 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1348, allocations: 0 / 487.1 MB, free: 180 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1349, allocations: 0 / 487.1 MB, free: 180 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007224/0.1356, allocations: 0.6067 MB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1356, allocations: 8.875 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1357, allocations: 38.73 kB / 487.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.1357, allocations: 48.38 kB / 487.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.136, allocations: 300.1 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.136, allocations: 4.375 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1361, allocations: 12.31 kB / 488.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1363, allocations: 69.59 kB / 488.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1363, allocations: 4 kB / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1363, allocations: 0 / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1363, allocations: 0 / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1365, allocations: 55.95 kB / 488.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.137, allocations: 436.5 kB / 488.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1373, allocations: 62.53 kB / 488.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.1374, allocations: 28.97 kB / 488.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1374, allocations: 8 kB / 488.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1374, allocations: 38.59 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1374, allocations: 0 / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001687/0.1391, allocations: 0.5776 MB / 489.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.1392, allocations: 51.41 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008179/0.14, allocations: 0.8699 MB / 490.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.14, allocations: 25.7 kB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1402, allocations: 224 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1402, allocations: 31.47 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.1403, allocations: 25.7 kB / 490.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1404, allocations: 358.8 kB / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1406, allocations: 59.95 kB / 491 MB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.1407, allocations: 67.95 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.141, allocations: 148.7 kB / 491.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.141, allocations: 0 / 491.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000384/0.1414, allocations: 209 kB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1415, allocations: 12 kB / 491.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1415, allocations: 0 / 491.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1415, allocations: 8.438 kB / 491.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1416, allocations: 27.98 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1416, allocations: 0 / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.1417, allocations: 15.98 kB / 491.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1417, allocations: 12 kB / 491.5 MB, free: 11.54 MB / 366.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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.1419, allocations: 225.6 kB / 491.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.142, allocations: 43.44 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.1425, allocations: 241.5 kB / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1425, allocations: 3.938 kB / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1425, allocations: 0 / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1425, allocations: 0 / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008029/0.1433, allocations: 0.6325 MB / 492.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1433, allocations: 0 / 492.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.1435, allocations: 39.97 kB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1435, allocations: 0 / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1435, allocations: 4 kB / 492.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1435, allocations: 0 / 492.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1435, allocations: 0 / 492.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.144, allocations: 325 kB / 493 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.1441, allocations: 116.5 kB / 493.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.1441, allocations: 3.984 kB / 493.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1442, allocations: 19.94 kB / 493.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.1443, allocations: 11.98 kB / 493.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1443, allocations: 4 kB / 493.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.1449, allocations: 0.655 MB / 493.8 MB, free: 9.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1449, allocations: 4 kB / 493.8 MB, free: 9.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1452, allocations: 32 kB / 493.8 MB, free: 9.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 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.1468, allocations: 1.204 MB / 495 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.1472, allocations: 143.8 kB / 495.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1472, allocations: 4 kB / 495.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1474, allocations: 75.89 kB / 495.2 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1478, allocations: 30.3 kB / 495.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.152, allocations: 3.704 MB / 499 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.1524, allocations: 0.838 MB / 499.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1525, allocations: 40.38 kB / 499.8 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.1527, allocations: 127.4 kB / 500 MB, free: 2.922 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1527, allocations: 3.938 kB / 500 MB, free: 2.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.1692, allocations: 6.065 MB / 0.4942 GB, free: 12.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.1694, allocations: 236.1 kB / 0.4944 GB, free: 12.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/1.991, allocations: 0 / 0.4944 GB, free: 12.7 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches