Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002188/0.002187, allocations: 213.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.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 80.52 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 62.45 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003421/0.1392, allocations: 1.645 MB / 481 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.1402, allocations: 0.5339 MB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.1403, allocations: 4 kB / 481.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1405, allocations: 11.92 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1408, allocations: 71.77 kB / 481.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1411, allocations: 79.83 kB / 481.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1413, allocations: 59.78 kB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.1414, allocations: 12 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.1415, allocations: 23.91 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.1415, allocations: 23.86 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1415, allocations: 4 kB / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.1416, allocations: 28 kB / 481.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.1417, allocations: 15.92 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1417, allocations: 19.86 kB / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1419, allocations: 75.95 kB / 482 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1419, allocations: 3.984 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1419, allocations: 4 kB / 482 MB, free: 2.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1419, allocations: 0 / 482 MB, free: 2.984 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.0004548/0.1424, allocations: 379.2 kB / 482.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1424, allocations: 8.875 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.1425, allocations: 42.67 kB / 482.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1425, allocations: 8.844 kB / 482.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1427, allocations: 192.2 kB / 482.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1427, allocations: 4.375 kB / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1428, allocations: 384 / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1429, allocations: 57.55 kB / 482.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1429, allocations: 0 / 482.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1429, allocations: 0 / 482.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1429, allocations: 0 / 482.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.143, allocations: 27.98 kB / 482.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.1434, allocations: 272.9 kB / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1436, allocations: 46.5 kB / 483 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.1437, allocations: 16.94 kB / 483 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1437, allocations: 7.984 kB / 483 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1437, allocations: 30.56 kB / 483.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1437, allocations: 4 kB / 483.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005539/0.1443, allocations: 145.2 kB / 483.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1443, allocations: 55.41 kB / 483.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1445, allocations: 146.1 kB / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1445, allocations: 33.7 kB / 483.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.1446, allocations: 96.12 kB / 483.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1446, allocations: 11.81 kB / 483.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.1446, allocations: 17.72 kB / 483.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1448, allocations: 322.8 kB / 483.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.1448, allocations: 19.98 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.875e-05/0.1449, allocations: 15.98 kB / 483.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.145, allocations: 48.83 kB / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1451, allocations: 0 / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001817/0.1453, allocations: 81.52 kB / 484 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1453, allocations: 8 kB / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1453, allocations: 0 / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1453, allocations: 0 / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.1454, allocations: 11.98 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1454, allocations: 4 kB / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.1454, allocations: 15.92 kB / 484.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.1455, allocations: 7.938 kB / 484.1 MB, free: 0.6562 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 8.931e-05/0.1456, allocations: 113.8 kB / 484.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.1456, allocations: 7.906 kB / 484.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.1458, allocations: 85.91 kB / 484.3 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1458, allocations: 4 kB / 484.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1458, allocations: 4.312 kB / 484.3 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1459, allocations: 3.984 kB / 484.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.1463, allocations: 358.3 kB / 484.7 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1463, allocations: 0 / 484.7 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.1463, allocations: 15.92 kB / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1464, allocations: 4 kB / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1464, allocations: 0 / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.088e-05/0.1464, allocations: 8.172 kB / 484.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1464, allocations: 4 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1466, allocations: 175.4 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.1467, allocations: 81.11 kB / 484.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1467, allocations: 0 / 484.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.1468, allocations: 11.94 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.1468, allocations: 7.922 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1468, allocations: 4 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.601e-05/0.1469, allocations: 117.7 kB / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1469, allocations: 0 / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1472, allocations: 19.91 kB / 485.1 MB, free: 15.54 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.001288/0.1485, allocations: 0.9967 MB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.1487, allocations: 47.95 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1487, allocations: 0 / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.1488, allocations: 27.92 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1491, allocations: 23.3 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1507, allocations: 1.439 MB / 487.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1509, allocations: 0.6926 MB / 488.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.248e-05/0.151, allocations: 11.98 kB / 488.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.1511, allocations: 27.38 kB / 488.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1511, allocations: 0 / 488.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.1634, allocations: 2.318 MB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.1637, allocations: 234.4 kB / 490.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.102, allocations: 0 / 490.9 MB, free: 9.797 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches