Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.001524/0.001524, allocations: 108.1 kB / 17.21 MB, free: 6.293 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.001908/0.001908, 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.429/1.429, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2042/0.2042, allocations: 44.16 MB / 336.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 61.03 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1089, allocations: 60.84 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00284/0.1118, allocations: 1.629 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007281/0.1125, allocations: 419.3 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.1126, allocations: 0 / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1129, allocations: 127.7 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.113, allocations: 79.78 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1133, allocations: 99.81 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1135, allocations: 79.86 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1136, allocations: 16.17 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.1137, allocations: 43.83 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1138, allocations: 87.72 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1138, allocations: 0 / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.1139, allocations: 43.98 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.114, allocations: 23.92 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.1141, allocations: 35.67 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1142, allocations: 107.9 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1142, allocations: 3.938 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1142, allocations: 0 / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1143, allocations: 4 kB / 471.4 MB, free: 11.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005008/0.1148, allocations: 422.9 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1148, allocations: 12.03 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.1149, allocations: 38.73 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1149, allocations: 12.84 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1151, allocations: 207.8 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-06/0.1151, allocations: 384 / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1151, allocations: 12.11 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1153, allocations: 57.67 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1153, allocations: 0 / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1153, allocations: 3.984 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1153, allocations: 4 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.275e-05/0.1154, allocations: 27.97 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1158, allocations: 316.6 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.116, allocations: 50.56 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.116, allocations: 20.94 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.116, allocations: 0 / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1161, allocations: 30.56 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.1161, allocations: 0 / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000927/0.117, allocations: 244.9 kB / 472.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1171, allocations: 59.34 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.1173, allocations: 266.2 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1173, allocations: 25.7 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.1174, allocations: 116 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1174, allocations: 23.66 kB / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.1175, allocations: 33.64 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1176, allocations: 322.8 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/0.1177, allocations: 28.06 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.1178, allocations: 35.95 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1179, allocations: 68.83 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1179, allocations: 0 / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002116/0.1182, allocations: 121.4 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1182, allocations: 8 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1182, allocations: 0 / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.1182, allocations: 0 / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.1183, allocations: 15.98 kB / 473.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1183, allocations: 3.938 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.1184, allocations: 8 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1184, allocations: 8 kB / 474 MB, free: 9.145 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 (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.0001455/0.1185, allocations: 137.8 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.1186, allocations: 11.81 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.1189, allocations: 139.3 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1189, allocations: 0 / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1189, allocations: 3.938 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1189, allocations: 0 / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.1196, allocations: 435.1 kB / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1196, allocations: 3.938 kB / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.1197, allocations: 19.98 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1197, allocations: 0 / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1197, allocations: 0 / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1197, allocations: 4 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1197, allocations: 0 / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1199, allocations: 220.2 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.12, allocations: 97.28 kB / 475 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.12, allocations: 3.938 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.1201, allocations: 4 kB / 475 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1201, allocations: 7.984 kB / 475 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1202, allocations: 8 kB / 475 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1203, allocations: 199.2 kB / 475.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1203, allocations: 0 / 475.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1206, allocations: 19.98 kB / 475.2 MB, free: 7.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001379/0.122, allocations: 1.105 MB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1222, allocations: 67.95 kB / 476.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1222, allocations: 3.938 kB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.1223, allocations: 39.97 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1226, allocations: 19.98 kB / 476.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.1249, allocations: 1.839 MB / 478.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1252, allocations: 0.7239 MB / 479 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.1253, allocations: 20.62 kB / 479.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.1254, allocations: 39.42 kB / 479.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1254, allocations: 0 / 479.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.139, allocations: 3.115 MB / 482.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.1392, allocations: 240 kB / 482.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.07, allocations: 3.875 kB / 482.5 MB, free: 0.6484 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches