Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001808, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 75.94 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1269, allocations: 62.45 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003373/0.1303, allocations: 1.657 MB / 481.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1315, allocations: 0.5261 MB / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1316, allocations: 3.938 kB / 481.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.1319, allocations: 27.86 kB / 481.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1322, allocations: 67.81 kB / 481.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1326, allocations: 103.1 kB / 482 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1328, allocations: 63.83 kB / 482 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1329, allocations: 8 kB / 482.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.133, allocations: 27.86 kB / 482.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.1331, allocations: 27.78 kB / 482.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1331, allocations: 8 kB / 482.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.1332, allocations: 28 kB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.1332, allocations: 11.98 kB / 482.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.1333, allocations: 23.81 kB / 482.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1335, allocations: 87.98 kB / 482.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1335, allocations: 0 / 482.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1335, allocations: 0 / 482.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1335, allocations: 0 / 482.3 MB, free: 2.828 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.0005684/0.1341, allocations: 391.1 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1342, allocations: 8.031 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.1342, allocations: 34.75 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1343, allocations: 12.78 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1345, allocations: 196.2 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.1345, allocations: 384 / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1345, allocations: 4.375 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1347, allocations: 53.62 kB / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1347, allocations: 0 / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1347, allocations: 0 / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1347, allocations: 0 / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1349, allocations: 35.95 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1353, allocations: 288.8 kB / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1355, allocations: 38.56 kB / 483.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.1356, allocations: 24.88 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1356, allocations: 4 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1357, allocations: 34.56 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1357, allocations: 0 / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006235/0.1363, allocations: 153.2 kB / 483.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1363, allocations: 51.41 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1365, allocations: 173.3 kB / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1366, allocations: 29.7 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.1366, allocations: 92.14 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.1367, allocations: 15.73 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1367, allocations: 21.66 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1369, allocations: 326.8 kB / 484.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.1369, allocations: 19.98 kB / 484.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.137, allocations: 19.98 kB / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1372, allocations: 56.83 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1372, allocations: 0 / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001981/0.1374, allocations: 85.56 kB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1374, allocations: 8 kB / 484.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1374, allocations: 0 / 484.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1375, allocations: 0 / 484.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.1375, allocations: 15.92 kB / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1375, allocations: 7.938 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.1376, allocations: 4 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1376, allocations: 4.25 kB / 484.4 MB, free: 444 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 (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.0001087/0.1377, allocations: 117.8 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.1378, allocations: 7.906 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.138, allocations: 102 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.138, allocations: 4 kB / 484.6 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1381, allocations: 3.938 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1381, allocations: 0 / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.1385, allocations: 358.5 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1386, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.1386, allocations: 11.98 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1386, allocations: 7.938 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1387, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1387, allocations: 7.938 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1387, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1389, allocations: 187.3 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.139, allocations: 77.11 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.139, allocations: 11.94 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1391, allocations: 3.984 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1391, allocations: 8 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1391, allocations: 0 / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1393, allocations: 123.2 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1393, allocations: 0 / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1395, allocations: 19.91 kB / 485.5 MB, free: 15.3 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.001445/0.141, allocations: 1.017 MB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1412, allocations: 51.95 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1412, allocations: 0 / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.1413, allocations: 27.92 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1417, allocations: 15.98 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1435, allocations: 1.503 MB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1438, allocations: 0.7041 MB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.107e-05/0.1439, allocations: 20.3 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1439, allocations: 19.44 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1439, allocations: 0 / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1842/0.3282, allocations: 2.45 MB / 491.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/0.3286, allocations: 246.8 kB / 491.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.658, allocations: 3.938 kB / 491.5 MB, free: 9.316 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches