Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.0012/0.0012, allocations: 105.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 77.06 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1361, allocations: 62.43 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003345/0.1395, allocations: 1.657 MB / 481 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1405, allocations: 0.5417 MB / 481.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.1406, allocations: 0 / 481.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1408, allocations: 27.91 kB / 481.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.1411, allocations: 67.75 kB / 481.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1415, allocations: 95.45 kB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1417, allocations: 71.81 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1418, allocations: 15.94 kB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.1419, allocations: 15.92 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.142, allocations: 23.86 kB / 481.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.142, allocations: 3.938 kB / 481.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1421, allocations: 27.98 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.1422, allocations: 15.92 kB / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1422, allocations: 23.81 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1425, allocations: 95.98 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1425, allocations: 0 / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1425, allocations: 0 / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1425, allocations: 3.938 kB / 482.1 MB, free: 2.934 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.000592/0.1431, allocations: 391.1 kB / 482.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1432, allocations: 8.875 kB / 482.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.1432, allocations: 34.75 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.1433, allocations: 12.84 kB / 482.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1435, allocations: 192.7 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1435, allocations: 8.125 kB / 482.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1436, allocations: 8 kB / 482.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1437, allocations: 53.61 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1438, allocations: 0 / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1438, allocations: 0 / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1438, allocations: 0 / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1439, allocations: 19.98 kB / 482.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1444, allocations: 292.9 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.1446, allocations: 42.5 kB / 483.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.1447, allocations: 20.94 kB / 483.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1447, allocations: 0 / 483.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1447, allocations: 30.56 kB / 483.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1448, allocations: 8 kB / 483.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006735/0.1454, allocations: 153.2 kB / 483.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1455, allocations: 51.41 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1457, allocations: 178.4 kB / 483.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1457, allocations: 25.7 kB / 483.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.1458, allocations: 104 kB / 483.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1459, allocations: 15.75 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.1459, allocations: 25.64 kB / 483.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1461, allocations: 318.8 kB / 484 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.1462, allocations: 23.97 kB / 484 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.1463, allocations: 19.98 kB / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.1464, allocations: 52.83 kB / 484.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1464, allocations: 4 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002297/0.1467, allocations: 89.5 kB / 484.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1467, allocations: 8 kB / 484.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1467, allocations: 0 / 484.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1467, allocations: 0 / 484.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.1468, allocations: 16.17 kB / 484.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1468, allocations: 3.938 kB / 484.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.1469, allocations: 8 kB / 484.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1469, allocations: 8 kB / 484.2 MB, free: 0.5156 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 0.0001184/0.147, allocations: 117.8 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.1471, allocations: 7.906 kB / 484.4 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.1474, allocations: 101.9 kB / 484.5 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.1474, allocations: 7.984 kB / 484.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1474, allocations: 3.938 kB / 484.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1474, allocations: 288 / 484.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.148, allocations: 358.6 kB / 484.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.148, allocations: 0 / 484.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/0.1481, allocations: 15.92 kB / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1481, allocations: 7.922 kB / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1481, allocations: 0 / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1481, allocations: 4 kB / 484.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1481, allocations: 0 / 484.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.1484, allocations: 187.3 kB / 485 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.1485, allocations: 81.02 kB / 485.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1485, allocations: 7.938 kB / 485.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.1486, allocations: 7.984 kB / 485.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1486, allocations: 4 kB / 485.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1486, allocations: 0 / 485.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1488, allocations: 138.5 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1488, allocations: 4 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1491, allocations: 15.98 kB / 485.3 MB, free: 15.36 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.001539/0.1506, allocations: 1.012 MB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1508, allocations: 55.97 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1508, allocations: 0 / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.1509, allocations: 27.92 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1513, allocations: 15.98 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1529, allocations: 1.537 MB / 487.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1532, allocations: 0.7004 MB / 488.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.041e-05/0.1533, allocations: 19.98 kB / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.1533, allocations: 31.42 kB / 488.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1533, allocations: 0 / 488.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.1678, allocations: 2.438 MB / 491.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.1681, allocations: 242.4 kB / 491.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.082, allocations: 0 / 491.4 MB, free: 9.359 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches