Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 106.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 44.18 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 65.7 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003689/0.1373, allocations: 1.618 MB / 470.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1389, allocations: 0.9999 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.139, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1392, allocations: 27.91 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1395, allocations: 31.86 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1398, allocations: 95.75 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.14, allocations: 55.89 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1401, allocations: 16 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.1402, allocations: 27.8 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1404, allocations: 27.84 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1404, allocations: 4 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1406, allocations: 35.98 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1406, allocations: 15.92 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.1407, allocations: 23.86 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1409, allocations: 84.06 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1409, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1409, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1409, allocations: 4 kB / 471.7 MB, free: 11.67 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.0005095/0.1414, allocations: 379.3 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1415, allocations: 8.031 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.1415, allocations: 34.75 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1416, allocations: 4.844 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1418, allocations: 194.8 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1418, allocations: 4.375 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1418, allocations: 4.375 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.142, allocations: 67.33 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.142, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.142, allocations: 11.88 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1421, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.1422, allocations: 19.98 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1426, allocations: 280.9 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1428, allocations: 46.55 kB / 472.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.1429, allocations: 16.8 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1429, allocations: 96 / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1429, allocations: 38.55 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.1429, allocations: 0 / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006034/0.1436, allocations: 145.3 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.1436, allocations: 81.11 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1438, allocations: 133.8 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1438, allocations: 29.7 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.1439, allocations: 96.06 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.1439, allocations: 11.81 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1439, allocations: 21.72 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1441, allocations: 322.8 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.1441, allocations: 19.98 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.1442, allocations: 33.7 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1444, allocations: 52.81 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1444, allocations: 192 / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002145/0.1446, allocations: 93.55 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1446, allocations: 8 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1447, allocations: 3.938 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1447, allocations: 0 / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.1447, allocations: 11.98 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1448, allocations: 4 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.1448, allocations: 3.984 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1448, allocations: 7.938 kB / 473.8 MB, free: 9.273 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.613e-05/0.1449, allocations: 117.8 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.145, allocations: 12.19 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.1452, allocations: 93.55 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1452, allocations: 3.984 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1453, allocations: 3.984 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1453, allocations: 0 / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.1457, allocations: 366.4 kB / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1457, allocations: 0 / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.1458, allocations: 15.94 kB / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1458, allocations: 0 / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1458, allocations: 3.984 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1458, allocations: 3.938 kB / 474.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1459, allocations: 0 / 474.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1461, allocations: 179.4 kB / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.1462, allocations: 85.25 kB / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1462, allocations: 4 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.1463, allocations: 11.94 kB / 474.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1463, allocations: 7.984 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1463, allocations: 0 / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.1464, allocations: 105.5 kB / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1464, allocations: 0 / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.1467, allocations: 28 kB / 474.9 MB, free: 8.148 MB / 350.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.001516/0.1482, allocations: 1.05 MB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1485, allocations: 51.95 kB / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1485, allocations: 3.938 kB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.1486, allocations: 27.92 kB / 476 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.149, allocations: 19.92 kB / 476 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1506, allocations: 1.421 MB / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.151, allocations: 0.6848 MB / 478.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.689e-05/0.151, allocations: 24.03 kB / 478.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.1511, allocations: 23.42 kB / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1511, allocations: 0 / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.1663, allocations: 2.537 MB / 480.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.1665, allocations: 240.8 kB / 480.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.101, allocations: 3.938 kB / 480.9 MB, free: 2.18 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches