Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.0007065/0.0007065, allocations: 93.89 kB / 17.35 MB, free: 6.344 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.000747/0.0007471, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.346/1.346, allocations: 223.3 MB / 242.3 MB, free: 228 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.1853/0.1853, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 12.28 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001885/0.1172, allocations: 1.297 MB / 473.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006921/0.1179, allocations: 403.4 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.118, allocations: 4 kB / 474.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.1182, allocations: 75.78 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1184, allocations: 51.86 kB / 474.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1186, allocations: 107.2 kB / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1188, allocations: 63.89 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.1189, allocations: 16.19 kB / 474.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.1189, allocations: 35.77 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.119, allocations: 47.89 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.119, allocations: 0 / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.047e-05/0.1191, allocations: 39.98 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.1192, allocations: 15.92 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1192, allocations: 61.45 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1194, allocations: 95.91 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1194, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1194, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1194, allocations: 0 / 474.6 MB, free: 10.96 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.0003956/0.1198, allocations: 393.4 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1199, allocations: 19.91 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.1199, allocations: 38.73 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.1199, allocations: 8.844 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1201, allocations: 196.1 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1201, allocations: 4.375 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1202, allocations: 12.03 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1203, allocations: 57.67 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1203, allocations: 0 / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1203, allocations: 0 / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1204, allocations: 7.938 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1205, allocations: 35.97 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.1208, allocations: 296.8 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1209, allocations: 50.5 kB / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.121, allocations: 24.94 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.121, allocations: 4 kB / 475.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1211, allocations: 30.56 kB / 475.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.1211, allocations: 0 / 475.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008547/0.1219, allocations: 265.2 kB / 476.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.122, allocations: 55.34 kB / 476.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1222, allocations: 206.2 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1222, allocations: 33.7 kB / 476.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.1222, allocations: 104 kB / 476.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1223, allocations: 27.64 kB / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1223, allocations: 9.719 kB / 476.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.1224, allocations: 326.8 kB / 476.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.1225, allocations: 31.98 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.1226, allocations: 35.97 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.1227, allocations: 88.98 kB / 477 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1227, allocations: 0 / 477 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002151/0.123, allocations: 121.5 kB / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.123, allocations: 10.48 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.123, allocations: 3.938 kB / 477.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.123, allocations: 4 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.686e-05/0.1231, allocations: 20 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1231, allocations: 11.92 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.1232, allocations: 4 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1232, allocations: 432 / 477.1 MB, free: 8.246 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 8.559e-05/0.1233, allocations: 133.8 kB / 477.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.1233, allocations: 7.906 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.1236, allocations: 134.4 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1236, allocations: 3.984 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1236, allocations: 3.938 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1236, allocations: 7.922 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.1241, allocations: 427.2 kB / 477.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1241, allocations: 3.938 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/0.1242, allocations: 23.92 kB / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1242, allocations: 0 / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1242, allocations: 8 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1243, allocations: 0 / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1243, allocations: 4.031 kB / 477.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1245, allocations: 216.3 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1246, allocations: 88.95 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1246, allocations: 4 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.1247, allocations: 15.98 kB / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1247, allocations: 4 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1247, allocations: 4 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1248, allocations: 159.2 kB / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1248, allocations: 0 / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1251, allocations: 27.89 kB / 478.4 MB, free: 6.883 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.001323/0.1264, allocations: 1.103 MB / 479.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1267, allocations: 87.88 kB / 479.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1267, allocations: 4 kB / 479.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/0.1268, allocations: 47.91 kB / 479.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1271, allocations: 18.97 kB / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1288, allocations: 1.721 MB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.129, allocations: 0.7041 MB / 482.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.751e-05/0.1291, allocations: 20.95 kB / 482.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.1291, allocations: 31.42 kB / 482.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1291, allocations: 4 kB / 482.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.1415, allocations: 2.632 MB / 484.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.1417, allocations: 241 kB / 485 MB, free: 412 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/1.92, allocations: 7.688 kB / 485 MB, free: 408 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches