Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 103.2 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.001337/0.001337, 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.405/1.405, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 76.62 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 62.45 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003357/0.145, allocations: 1.653 MB / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1469, allocations: 1.148 MB / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.147, allocations: 0 / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.1472, allocations: 27.91 kB / 482.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.1476, allocations: 59.77 kB / 482.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1479, allocations: 111.4 kB / 482.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1481, allocations: 55.89 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1482, allocations: 15.98 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.1483, allocations: 27.81 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1484, allocations: 35.83 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1485, allocations: 4 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.1487, allocations: 91.88 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.1487, allocations: 11.98 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1488, allocations: 23.8 kB / 482.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1491, allocations: 136 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1491, allocations: 0 / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1491, allocations: 0 / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1491, allocations: 3.938 kB / 482.8 MB, free: 2.184 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.0005537/0.1497, allocations: 399.2 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1497, allocations: 8.875 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.1498, allocations: 42.69 kB / 483.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.1498, allocations: 8.844 kB / 483.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.15, allocations: 192.2 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1501, allocations: 384 / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1501, allocations: 4.375 kB / 483.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1502, allocations: 67.33 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1503, allocations: 4 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1503, allocations: 0 / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1503, allocations: 0 / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1504, allocations: 31.91 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1508, allocations: 284.9 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.151, allocations: 42.56 kB / 483.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.1511, allocations: 20.94 kB / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1511, allocations: 0 / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1512, allocations: 38.5 kB / 483.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1512, allocations: 0 / 483.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005885/0.1518, allocations: 153.3 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1518, allocations: 81.05 kB / 484.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.152, allocations: 141.8 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.152, allocations: 29.64 kB / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.1521, allocations: 96.12 kB / 484.4 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.1521, allocations: 19.72 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1522, allocations: 13.72 kB / 484.4 MB, free: 320 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1523, allocations: 322.8 kB / 484.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.1524, allocations: 28.05 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.1525, allocations: 37.69 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1526, allocations: 52.83 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1526, allocations: 0 / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001978/0.1528, allocations: 85.59 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1529, allocations: 8.031 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1529, allocations: 0 / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1529, allocations: 4 kB / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.1529, allocations: 8 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.153, allocations: 3.984 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.153, allocations: 11.84 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.153, allocations: 4 kB / 485 MB, free: 15.73 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 (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.198e-05/0.1531, allocations: 117.8 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1532, allocations: 4 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.1534, allocations: 109.7 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1535, allocations: 4.219 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1535, allocations: 0 / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1535, allocations: 3.938 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.1539, allocations: 358.8 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1539, allocations: 4 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.154, allocations: 15.98 kB / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.154, allocations: 0 / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.154, allocations: 7.938 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.154, allocations: 3.938 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.154, allocations: 0 / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1543, allocations: 187.4 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.1544, allocations: 77.11 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1544, allocations: 3.938 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1545, allocations: 7.984 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1545, allocations: 8 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1545, allocations: 3.938 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.1546, allocations: 117.6 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1546, allocations: 0 / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1549, allocations: 39.98 kB / 486 MB, free: 14.58 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.001681/0.1566, allocations: 1.102 MB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1568, allocations: 59.83 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1568, allocations: 0 / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.1569, allocations: 31.92 kB / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1573, allocations: 15.98 kB / 487.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1591, allocations: 1.461 MB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1595, allocations: 0.6965 MB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.192e-05/0.1596, allocations: 16.2 kB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.1597, allocations: 27.42 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1597, allocations: 0 / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.1752, allocations: 3.018 MB / 492.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.1755, allocations: 242.9 kB / 492.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.069, allocations: 4.062 kB / 492.7 MB, free: 8.012 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches