Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",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.001129/0.001129, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.001096/0.001096, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.505/1.505, allocations: 222.9 MB / 241.9 MB, free: 15.49 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.2554/0.2554, allocations: 44.18 MB / 336.3 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 62.89 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.134, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003658/0.1377, allocations: 1.618 MB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.1385, allocations: 407.3 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1386, allocations: 0 / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1388, allocations: 15.92 kB / 470.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1391, allocations: 39.89 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.1395, allocations: 99.08 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1396, allocations: 59.78 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1398, allocations: 15.98 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.1398, allocations: 15.94 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.1399, allocations: 23.84 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1399, allocations: 4 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.14, allocations: 31.98 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.1401, allocations: 15.88 kB / 471.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.1401, allocations: 19.86 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1403, allocations: 76.06 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1403, allocations: 4 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.1403, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.1403, allocations: 3.938 kB / 471.3 MB, free: 12.2 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.0004866/0.1408, allocations: 383.1 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1409, allocations: 8.031 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.1409, allocations: 30.75 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.141, allocations: 12.84 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1412, allocations: 182.8 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1412, allocations: 4.375 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1412, allocations: 4.312 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1414, allocations: 57.61 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1414, allocations: 3.938 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1414, allocations: 0 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1414, allocations: 0 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.1415, allocations: 23.98 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.1419, allocations: 284.8 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1421, allocations: 46.5 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.1422, allocations: 20.94 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1422, allocations: 3.984 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1422, allocations: 34.56 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1422, allocations: 0 / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005495/0.1428, allocations: 145.3 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1429, allocations: 55.39 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1431, allocations: 153.7 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1431, allocations: 33.7 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.1431, allocations: 92.12 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1432, allocations: 15.75 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.1432, allocations: 21.66 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1433, allocations: 326.8 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.1434, allocations: 19.98 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.1435, allocations: 24.05 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1436, allocations: 60.75 kB / 473.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1436, allocations: 0 / 473.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000178/0.1438, allocations: 85.58 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1438, allocations: 4 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1439, allocations: 0 / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1439, allocations: 0 / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.1439, allocations: 15.98 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.144, allocations: 0 / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.144, allocations: 7.938 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.144, allocations: 4 kB / 473.4 MB, free: 9.848 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 9.129e-05/0.1441, allocations: 121.8 kB / 473.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1442, allocations: 7.906 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.1444, allocations: 93.97 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1444, allocations: 4.266 kB / 473.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1444, allocations: 4 kB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1444, allocations: 3.938 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.1448, allocations: 350.5 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1449, allocations: 4 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.1449, allocations: 12.3 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1449, allocations: 0 / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1449, allocations: 7.938 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1449, allocations: 0 / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.145, allocations: 7.938 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1452, allocations: 183.4 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1453, allocations: 85.02 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1453, allocations: 3.938 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.1453, allocations: 11.92 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.1454, allocations: 0 / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1454, allocations: 8 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.1455, allocations: 121.8 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1458, allocations: 20 kB / 474.4 MB, free: 8.715 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.001458/0.1473, allocations: 1.004 MB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1475, allocations: 63.83 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1475, allocations: 0 / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.1476, allocations: 23.98 kB / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.148, allocations: 15.98 kB / 475.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1499, allocations: 1.481 MB / 477 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1503, allocations: 0.6977 MB / 477.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.582e-05/0.1504, allocations: 16.06 kB / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.1504, allocations: 27.42 kB / 477.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1505, allocations: 3.938 kB / 477.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1643, allocations: 2.359 MB / 480.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.1646, allocations: 228.7 kB / 480.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.126, allocations: 0 / 480.3 MB, free: 2.895 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches