Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001795/0.001795, allocations: 108.5 kB / 17.21 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.002446/0.002446, 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.472/1.472, 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.2217/0.2217, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 75.89 kB / 416.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1314, allocations: 62.43 MB / 479.4 MB, free: 8.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003077/0.1345, allocations: 1.664 MB / 481 MB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1356, allocations: 0.5612 MB / 481.6 MB, free: 6.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.1357, allocations: 0 / 481.6 MB, free: 6.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.136, allocations: 27.8 kB / 481.6 MB, free: 6.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1363, allocations: 63.81 kB / 481.7 MB, free: 6.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1366, allocations: 95.2 kB / 481.8 MB, free: 6.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1367, allocations: 67.77 kB / 481.9 MB, free: 6.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1369, allocations: 23.97 kB / 481.9 MB, free: 6.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.561e-05/0.1369, allocations: 23.92 kB / 481.9 MB, free: 6.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.662e-05/0.137, allocations: 31.78 kB / 481.9 MB, free: 6.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.137, allocations: 4 kB / 481.9 MB, free: 6.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1373, allocations: 95.94 kB / 482 MB, free: 6.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.1373, allocations: 11.92 kB / 482 MB, free: 6.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.1374, allocations: 31.73 kB / 482.1 MB, free: 6.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1377, allocations: 136 kB / 482.2 MB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1377, allocations: 0 / 482.2 MB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1377, allocations: 4 kB / 482.2 MB, free: 6.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1377, allocations: 4 kB / 482.2 MB, free: 6.133 MB / 398.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.0005957/0.1383, allocations: 399.2 kB / 482.6 MB, free: 5.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1383, allocations: 8.875 kB / 482.6 MB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.1384, allocations: 42.73 kB / 482.7 MB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.1384, allocations: 8.844 kB / 482.7 MB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1387, allocations: 195.1 kB / 482.9 MB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1387, allocations: 384 / 482.9 MB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1387, allocations: 8.375 kB / 482.9 MB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.1389, allocations: 63.34 kB / 482.9 MB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.139, allocations: 3.984 kB / 482.9 MB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.139, allocations: 4 kB / 482.9 MB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.139, allocations: 4 kB / 482.9 MB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.509e-05/0.1391, allocations: 19.98 kB / 483 MB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.1397, allocations: 300.8 kB / 483.3 MB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1398, allocations: 46.56 kB / 483.3 MB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.1399, allocations: 24.94 kB / 483.3 MB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1399, allocations: 0 / 483.3 MB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1399, allocations: 30.56 kB / 483.4 MB, free: 4.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.1399, allocations: 0 / 483.4 MB, free: 4.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006682/0.1406, allocations: 193.4 kB / 483.5 MB, free: 4.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.1407, allocations: 81.11 kB / 483.6 MB, free: 4.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1408, allocations: 145.8 kB / 483.8 MB, free: 4.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1409, allocations: 25.7 kB / 483.8 MB, free: 4.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1409, allocations: 99.98 kB / 483.9 MB, free: 4.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.141, allocations: 27.64 kB / 483.9 MB, free: 4.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.141, allocations: 21.72 kB / 483.9 MB, free: 4.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1411, allocations: 326.8 kB / 484.3 MB, free: 3.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.1412, allocations: 23.98 kB / 484.3 MB, free: 3.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.1413, allocations: 49.62 kB / 484.3 MB, free: 3.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1415, allocations: 72.81 kB / 484.4 MB, free: 3.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1415, allocations: 7.969 kB / 484.4 MB, free: 3.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002273/0.1417, allocations: 109.5 kB / 484.5 MB, free: 3.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1418, allocations: 4 kB / 484.5 MB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1418, allocations: 0 / 484.5 MB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1418, allocations: 0 / 484.5 MB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1419, allocations: 27.92 kB / 484.5 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1419, allocations: 0 / 484.5 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.142, allocations: 11.92 kB / 484.6 MB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.142, allocations: 0 / 484.6 MB, free: 3.547 MB / 398.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.0001057/0.1421, allocations: 117.8 kB / 484.7 MB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1422, allocations: 7.906 kB / 484.7 MB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.1424, allocations: 126.6 kB / 484.8 MB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1424, allocations: 0 / 484.8 MB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1425, allocations: 0 / 484.8 MB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1425, allocations: 3.938 kB / 484.8 MB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.143, allocations: 390.5 kB / 485.2 MB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.143, allocations: 0 / 485.2 MB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.143, allocations: 15.98 kB / 485.2 MB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1431, allocations: 7.938 kB / 485.2 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1431, allocations: 0 / 485.2 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1431, allocations: 0 / 485.2 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1431, allocations: 0 / 485.2 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1433, allocations: 203.4 kB / 485.4 MB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.1434, allocations: 81.02 kB / 485.5 MB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1434, allocations: 7.938 kB / 485.5 MB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1435, allocations: 7.984 kB / 485.5 MB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.1435, allocations: 0 / 485.5 MB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1436, allocations: 7.938 kB / 485.5 MB, free: 2.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.1437, allocations: 129.8 kB / 485.6 MB, free: 2.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1437, allocations: 0 / 485.6 MB, free: 2.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.144, allocations: 39.98 kB / 485.7 MB, free: 2.32 MB / 398.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 (7): * Single equations (assignments): 7 * 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.001628/0.1456, allocations: 1.114 MB / 486.8 MB, free: 1.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1459, allocations: 71.89 kB / 486.9 MB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1459, allocations: 0 / 486.9 MB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.146, allocations: 27.98 kB / 486.9 MB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1463, allocations: 23.92 kB / 486.9 MB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1483, allocations: 1.539 MB / 488.4 MB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.1486, allocations: 0.6926 MB / 489.1 MB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.1487, allocations: 37.09 kB / 489.2 MB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.1488, allocations: 31.36 kB / 489.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1488, allocations: 3.938 kB / 489.2 MB, free: 14.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.1649, allocations: 3.269 MB / 492.5 MB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.1652, allocations: 252.3 kB / 492.7 MB, free: 11.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.124, allocations: 0 / 492.7 MB, free: 11.39 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches