Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 105.4 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.001403/0.001403, 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.375/1.375, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2571/0.2571, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 79.73 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.139, allocations: 62.45 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003983/0.143, allocations: 1.674 MB / 481.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1442, allocations: 0.5417 MB / 481.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.1442, allocations: 0 / 481.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1446, allocations: 79.77 kB / 481.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1449, allocations: 83.78 kB / 481.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.1453, allocations: 107.6 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1455, allocations: 75.81 kB / 481.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1456, allocations: 15.98 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.1457, allocations: 31.86 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1458, allocations: 55.81 kB / 482 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1459, allocations: 4 kB / 482 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.146, allocations: 47.92 kB / 482.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.1461, allocations: 23.91 kB / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.1462, allocations: 35.73 kB / 482.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1464, allocations: 104 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1464, allocations: 3.938 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1464, allocations: 0 / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1464, allocations: 0 / 482.3 MB, free: 2.742 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.0005994/0.147, allocations: 407 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1471, allocations: 8.875 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.1471, allocations: 42.75 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.1472, allocations: 8.844 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1474, allocations: 204.7 kB / 482.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1474, allocations: 4.375 kB / 482.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1475, allocations: 4.375 kB / 482.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1477, allocations: 65.53 kB / 483 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1477, allocations: 3.906 kB / 483 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1477, allocations: 4 kB / 483 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1477, allocations: 0 / 483 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1478, allocations: 35.97 kB / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.1483, allocations: 300.7 kB / 483.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1484, allocations: 46.55 kB / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.1485, allocations: 12.86 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1485, allocations: 8 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1486, allocations: 38.64 kB / 483.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1486, allocations: 0 / 483.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009839/0.1496, allocations: 249 kB / 483.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1496, allocations: 59.39 kB / 483.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1498, allocations: 210.8 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1499, allocations: 25.7 kB / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.1499, allocations: 112.1 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.15, allocations: 27.61 kB / 484.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.15, allocations: 17.72 kB / 484.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1502, allocations: 322.8 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.1503, allocations: 31.98 kB / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.1504, allocations: 32.03 kB / 484.5 MB, free: 288 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.1506, allocations: 76.81 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1506, allocations: 0 / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.1508, allocations: 113.5 kB / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1509, allocations: 4 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1509, allocations: 4 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1509, allocations: 0 / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.151, allocations: 19.98 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.151, allocations: 3.938 kB / 484.7 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.1511, allocations: 4 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1511, allocations: 0 / 484.7 MB, free: 52 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1512, allocations: 129.8 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.1513, allocations: 11.81 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.1516, allocations: 146.9 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1516, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1516, allocations: 3.938 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1516, allocations: 4 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.1522, allocations: 415.3 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1522, allocations: 4.031 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.1523, allocations: 23.92 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1523, allocations: 4 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1523, allocations: 0 / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1523, allocations: 3.938 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1523, allocations: 0 / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.1526, allocations: 224.5 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.1526, allocations: 88.95 kB / 485.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1527, allocations: 11.94 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.1527, allocations: 3.984 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1528, allocations: 4 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1528, allocations: 4 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.153, allocations: 168.7 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.153, allocations: 0 / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1532, allocations: 23.98 kB / 486 MB, free: 14.69 MB / 366.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 (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.001607/0.1549, allocations: 1.082 MB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1551, allocations: 79.92 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1551, allocations: 0 / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1552, allocations: 39.92 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1556, allocations: 20.05 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1577, allocations: 1.727 MB / 488.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1581, allocations: 0.7082 MB / 489.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.611e-05/0.1582, allocations: 20.95 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.1582, allocations: 43.42 kB / 489.7 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1583, allocations: 0 / 489.7 MB, free: 11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.1724, allocations: 2.909 MB / 492.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.1727, allocations: 246 kB / 492.8 MB, free: 7.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.1, allocations: 0 / 492.8 MB, free: 7.906 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches