Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.00123, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 78.56 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1321, allocations: 62.45 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003402/0.1356, allocations: 1.651 MB / 481 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1367, allocations: 0.5416 MB / 481.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.1367, allocations: 0 / 481.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.137, allocations: 23.92 kB / 481.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.1373, allocations: 63.81 kB / 481.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.1376, allocations: 99.75 kB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1378, allocations: 59.84 kB / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1379, allocations: 16 kB / 481.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/0.138, allocations: 19.86 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.1381, allocations: 31.78 kB / 481.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1381, allocations: 0 / 481.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1382, allocations: 27.98 kB / 481.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1383, allocations: 11.94 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1383, allocations: 23.8 kB / 481.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1385, allocations: 80.06 kB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1385, allocations: 0 / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1385, allocations: 0 / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1385, allocations: 0 / 482 MB, free: 2.961 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004886/0.139, allocations: 391.1 kB / 482.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.1391, allocations: 8.875 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1391, allocations: 42.69 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1392, allocations: 12.84 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.1394, allocations: 188.2 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-06/0.1394, allocations: 384 / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1394, allocations: 4.375 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1396, allocations: 49.62 kB / 482.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1396, allocations: 0 / 482.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1396, allocations: 8 kB / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1396, allocations: 0 / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1397, allocations: 23.97 kB / 482.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.1401, allocations: 284.8 kB / 483 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.1404, allocations: 50.55 kB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.1404, allocations: 12.86 kB / 483.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1405, allocations: 4 kB / 483.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1405, allocations: 34.64 kB / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1405, allocations: 0 / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006269/0.1411, allocations: 153.2 kB / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1412, allocations: 55.41 kB / 483.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1413, allocations: 150.2 kB / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1414, allocations: 29.64 kB / 483.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.1414, allocations: 96.12 kB / 483.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1415, allocations: 7.812 kB / 483.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.1415, allocations: 17.72 kB / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1417, allocations: 326.8 kB / 483.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.1418, allocations: 23.98 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.1419, allocations: 27.91 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.142, allocations: 52.83 kB / 484 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.142, allocations: 0 / 484 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001932/0.1422, allocations: 81.58 kB / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1422, allocations: 4 kB / 484.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1423, allocations: 11.98 kB / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1423, allocations: 0 / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.1424, allocations: 12.47 kB / 484.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1424, allocations: 0 / 484.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.1424, allocations: 19.86 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1424, allocations: 3.938 kB / 484.2 MB, free: 0.5859 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 (5): * Single equations (assignments): 5 * 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.78e-05/0.1425, allocations: 117.8 kB / 484.3 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.1426, allocations: 7.906 kB / 484.3 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.1428, allocations: 101.9 kB / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1429, allocations: 4 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1429, allocations: 0 / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1429, allocations: 0 / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.1433, allocations: 358.4 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1434, allocations: 0 / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.1434, allocations: 19.98 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1434, allocations: 0 / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1435, allocations: 4 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.1435, allocations: 7.922 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1435, allocations: 0 / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1437, allocations: 183.4 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1438, allocations: 77.11 kB / 485 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1438, allocations: 8 kB / 485 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.1439, allocations: 7.922 kB / 485 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.1439, allocations: 8 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1439, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.144, allocations: 117.7 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.144, allocations: 0 / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1443, allocations: 19.91 kB / 485.2 MB, free: 15.46 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 (5): * Single equations (assignments): 5 * 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.001448/0.1458, allocations: 1.016 MB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.146, allocations: 47.95 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.146, allocations: 0 / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.1461, allocations: 27.98 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.1465, allocations: 23.92 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1482, allocations: 1.462 MB / 487.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1485, allocations: 0.7074 MB / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.1486, allocations: 15.98 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.1487, allocations: 23.42 kB / 488.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1487, allocations: 0 / 488.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.1618, allocations: 2.338 MB / 490.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.162, allocations: 234.4 kB / 491.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.088, allocations: 7.938 kB / 491.1 MB, free: 9.621 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches