Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 73.89 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1232, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.00377/0.127, allocations: 1.659 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.129, allocations: 1.191 MB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.1291, allocations: 0 / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.1294, allocations: 35.78 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.1298, allocations: 91.59 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.1303, allocations: 171.3 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1305, allocations: 75.77 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1306, allocations: 16 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.1307, allocations: 35.84 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1308, allocations: 39.83 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1309, allocations: 4 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1311, allocations: 99.88 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.1312, allocations: 23.92 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.1312, allocations: 35.8 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.1315, allocations: 151.9 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1315, allocations: 0 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1315, allocations: 0 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1315, allocations: 4 kB / 483.7 MB, free: 1.531 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.0006141/0.1322, allocations: 419 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1322, allocations: 8.031 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.1322, allocations: 30.75 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1323, allocations: 8.844 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1326, allocations: 222.4 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1326, allocations: 4.375 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1326, allocations: 384 / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.1328, allocations: 79.33 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1328, allocations: 3.984 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1328, allocations: 0 / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1329, allocations: 4 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.133, allocations: 39.91 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.1335, allocations: 308.8 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1336, allocations: 50.55 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.1337, allocations: 28.94 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1337, allocations: 3.938 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1337, allocations: 30.56 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1337, allocations: 3.938 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008305/0.1346, allocations: 241.2 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.1347, allocations: 77.11 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1348, allocations: 157.7 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1348, allocations: 25.7 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.1349, allocations: 96.12 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.135, allocations: 23.7 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.135, allocations: 17.72 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1351, allocations: 326.8 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1352, allocations: 35.97 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1354, allocations: 53.67 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1356, allocations: 97.05 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1356, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002985/0.1359, allocations: 129.5 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.136, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.136, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.136, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1361, allocations: 19.98 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1361, allocations: 4 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.1362, allocations: 23.77 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1362, allocations: 0 / 486.3 MB, free: 14.75 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 (7): * Single equations (assignments): 7 * 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 9.911e-05/0.1363, allocations: 121.8 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.1364, allocations: 7.906 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.1367, allocations: 146.2 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1368, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1368, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1368, allocations: 7.938 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.1373, allocations: 410.5 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1373, allocations: 3.938 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/0.1374, allocations: 31.91 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1375, allocations: 0 / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1375, allocations: 3.938 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1375, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1375, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.1378, allocations: 219.4 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.1379, allocations: 92.94 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1379, allocations: 7.938 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.138, allocations: 8.281 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1381, allocations: 7.984 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1381, allocations: 0 / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1382, allocations: 125.4 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1382, allocations: 0 / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000293/0.1385, allocations: 47.98 kB / 487.5 MB, free: 13.43 MB / 366.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 (7): * Single equations (assignments): 7 * 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.001545/0.14, allocations: 1.132 MB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.1404, allocations: 99.86 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1404, allocations: 3.938 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1405, allocations: 51.95 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1409, allocations: 15.98 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1429, allocations: 1.639 MB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1432, allocations: 0.708 MB / 491.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.879e-05/0.1433, allocations: 28.72 kB / 491.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.1434, allocations: 31.41 kB / 491.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1434, allocations: 0 / 491.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.1674, allocations: 3.495 MB / 494.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.567, allocations: 24.3 kB / 494.7 MB, free: 6.309 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches