Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.0007936/0.0007936, 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.0008023/0.0008023, allocations: 179.4 kB / 18.26 MB, free: 5.52 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.291/1.291, allocations: 223.3 MB / 242.3 MB, free: 216 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.2037/0.2037, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002109/0.1127, allocations: 1.301 MB / 473.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.1135, allocations: 399.4 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.1136, allocations: 0 / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1139, allocations: 75.83 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1141, allocations: 51.88 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1144, allocations: 103.4 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1146, allocations: 71.81 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1147, allocations: 20.17 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.1148, allocations: 23.86 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1149, allocations: 51.88 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1149, allocations: 0 / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1151, allocations: 47.97 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.1151, allocations: 11.94 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.1152, allocations: 57.44 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1154, allocations: 99.84 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1154, allocations: 4 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1154, allocations: 4 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1154, allocations: 0 / 474.7 MB, free: 10.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.0004634/0.1159, allocations: 387.2 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1159, allocations: 15.97 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.116, allocations: 34.75 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.116, allocations: 8.844 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1162, allocations: 196.1 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1163, allocations: 384 / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1163, allocations: 16.03 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1164, allocations: 65.59 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1165, allocations: 4 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1165, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1165, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1166, allocations: 27.98 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.117, allocations: 304.8 kB / 475.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1171, allocations: 50.5 kB / 475.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.1172, allocations: 24.94 kB / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1172, allocations: 4 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1173, allocations: 30.56 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.605e-06/0.1173, allocations: 3.984 kB / 475.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009409/0.1182, allocations: 257.1 kB / 476.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1183, allocations: 63.34 kB / 476.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1185, allocations: 210.2 kB / 476.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1185, allocations: 25.7 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.1186, allocations: 104 kB / 476.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1186, allocations: 27.72 kB / 476.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1186, allocations: 17.72 kB / 476.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1187, allocations: 318.8 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/0.1188, allocations: 39.91 kB / 476.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.1189, allocations: 35.98 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.1191, allocations: 85.03 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1191, allocations: 0 / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002357/0.1194, allocations: 121.5 kB / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1194, allocations: 8 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1194, allocations: 3.938 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1194, allocations: 0 / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1196, allocations: 23.92 kB / 477.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1196, allocations: 3.938 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.1196, allocations: 11.98 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1196, allocations: 4 kB / 477.1 MB, free: 8.215 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.0001035/0.1198, allocations: 121.8 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.1198, allocations: 11.91 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.1201, allocations: 138.3 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1201, allocations: 0 / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1201, allocations: 11.88 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1202, allocations: 0 / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.1207, allocations: 427.2 kB / 477.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1208, allocations: 3.938 kB / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.1208, allocations: 19.98 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1209, allocations: 4 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1209, allocations: 4 kB / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1209, allocations: 0 / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1209, allocations: 0 / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1212, allocations: 220.3 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.1212, allocations: 96.88 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1213, allocations: 4 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.1214, allocations: 16 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.1214, allocations: 7.984 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.1214, allocations: 0 / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1215, allocations: 155.2 kB / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1215, allocations: 0 / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1218, allocations: 27.91 kB / 478.4 MB, free: 6.859 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.001594/0.1234, allocations: 1.108 MB / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1237, allocations: 79.95 kB / 479.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1237, allocations: 0 / 479.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1238, allocations: 47.98 kB / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1241, allocations: 22.95 kB / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1259, allocations: 1.724 MB / 481.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1261, allocations: 0.7041 MB / 482.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.1262, allocations: 20.95 kB / 482.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.1263, allocations: 35.42 kB / 482.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1263, allocations: 0 / 482.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.1389, allocations: 2.636 MB / 484.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.1391, allocations: 247.9 kB / 485 MB, free: 380 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/1.988, allocations: 7.938 kB / 485 MB, free: 372 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches