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.0008019/0.0008018, allocations: 93.33 kB / 17.35 MB, free: 6.371 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.0007808/0.0007808, allocations: 174.8 kB / 18.25 MB, free: 5.523 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.305/1.305, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.24 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 11.98 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1098, allocations: 61.91 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001816/0.1117, allocations: 1.282 MB / 473.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.1125, allocations: 391.4 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.1125, allocations: 0 / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.1128, allocations: 27.91 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.113, allocations: 31.92 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1133, allocations: 94.7 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1134, allocations: 59.77 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1135, allocations: 11.98 kB / 474.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.1136, allocations: 15.94 kB / 474.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.1137, allocations: 19.86 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1137, allocations: 4 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.1138, allocations: 31.91 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.1138, allocations: 11.94 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.1139, allocations: 41.58 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.114, allocations: 72.06 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.114, allocations: 3.938 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.114, allocations: 4 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1141, allocations: 0 / 474.4 MB, free: 11.12 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.0004032/0.1145, allocations: 375.2 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1145, allocations: 12.03 kB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1145, allocations: 34.75 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1146, allocations: 8.844 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1147, allocations: 190.6 kB / 475 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1148, allocations: 4.375 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.1148, allocations: 8.344 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1149, allocations: 53.62 kB / 475.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1149, allocations: 4 kB / 475.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.115, allocations: 0 / 475.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.115, allocations: 0 / 475.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.1151, allocations: 23.98 kB / 475.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.1154, allocations: 292.8 kB / 475.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1156, allocations: 46.56 kB / 475.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.1157, allocations: 20.94 kB / 475.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1157, allocations: 0 / 475.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1157, allocations: 30.56 kB / 475.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1157, allocations: 0 / 475.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005836/0.1163, allocations: 165.2 kB / 475.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1164, allocations: 63.39 kB / 475.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1165, allocations: 149.8 kB / 475.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1165, allocations: 25.7 kB / 475.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.1166, allocations: 96.12 kB / 476 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1166, allocations: 15.75 kB / 476 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.1166, allocations: 9.719 kB / 476 MB, free: 9.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.1167, allocations: 330.7 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.1168, allocations: 27.98 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.1169, allocations: 27.92 kB / 476.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1171, allocations: 56.83 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1171, allocations: 0 / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001911/0.1173, allocations: 101.6 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1173, allocations: 4 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1173, allocations: 0 / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1173, allocations: 0 / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.1174, allocations: 15.98 kB / 476.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1174, allocations: 3.984 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.1175, allocations: 16.19 kB / 476.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1175, allocations: 7.938 kB / 476.6 MB, free: 8.715 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 7.553e-05/0.1175, allocations: 117.8 kB / 476.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1176, allocations: 11.84 kB / 476.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.1178, allocations: 106 kB / 476.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1178, allocations: 0 / 476.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1178, allocations: 3.984 kB / 476.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1179, allocations: 3.938 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.1182, allocations: 366.4 kB / 477.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1183, allocations: 0 / 477.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.1183, allocations: 15.98 kB / 477.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1183, allocations: 0 / 477.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1183, allocations: 3.938 kB / 477.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1184, allocations: 4 kB / 477.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1184, allocations: 0 / 477.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.1186, allocations: 195.4 kB / 477.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.1186, allocations: 81.11 kB / 477.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1187, allocations: 7.922 kB / 477.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.1187, allocations: 8 kB / 477.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.1188, allocations: 7.984 kB / 477.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1188, allocations: 0 / 477.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.961e-05/0.1189, allocations: 125.2 kB / 477.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1189, allocations: 0 / 477.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1191, allocations: 19.98 kB / 477.7 MB, free: 7.555 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.001262/0.1204, allocations: 1.017 MB / 478.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1206, allocations: 63.83 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1206, allocations: 0 / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.147e-05/0.1207, allocations: 35.98 kB / 478.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.121, allocations: 19.86 kB / 478.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1225, allocations: 1.499 MB / 480.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1227, allocations: 0.698 MB / 481 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.1228, allocations: 20.3 kB / 481 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.1229, allocations: 23.42 kB / 481 MB, free: 4.211 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1229, allocations: 0 / 481 MB, free: 4.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.1343, allocations: 2.129 MB / 483.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.1345, allocations: 235.1 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.839, allocations: 0 / 483.4 MB, free: 1.938 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