Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",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.001481/0.001481, allocations: 108.8 kB / 16.41 MB, free: 6.477 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.001559/0.00156, allocations: 189.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2244/0.2244, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 67.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.114, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.002985/0.1171, allocations: 1.554 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006271/0.1177, allocations: 327.4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.1178, allocations: 4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.118, allocations: 31.86 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1183, allocations: 31.84 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1186, allocations: 91.75 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1188, allocations: 51.89 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1189, allocations: 23.97 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.842e-05/0.119, allocations: 19.88 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.119, allocations: 15.92 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1191, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.1191, allocations: 39.91 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.1192, allocations: 11.94 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.1192, allocations: 23.8 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1194, allocations: 71.8 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1194, allocations: 0 / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1194, allocations: 0 / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1194, allocations: 0 / 0.4896 GB, free: 9.996 MB / 382.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.0004295/0.1199, allocations: 379.2 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1199, allocations: 11.89 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.12, allocations: 38.75 kB / 0.49 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.12, allocations: 4.844 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1202, allocations: 200 kB / 0.4902 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1202, allocations: 384 / 0.4902 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1202, allocations: 4.312 kB / 0.4902 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1204, allocations: 53.61 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1204, allocations: 0 / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.1204, allocations: 4 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1204, allocations: 0 / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.1205, allocations: 27.98 kB / 0.4903 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1209, allocations: 280.8 kB / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1211, allocations: 42.56 kB / 0.4906 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.1212, allocations: 24.94 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1212, allocations: 0 / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1212, allocations: 30.56 kB / 0.4907 GB, free: 8.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1212, allocations: 3.938 kB / 0.4907 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005516/0.1218, allocations: 145.3 kB / 0.4908 GB, free: 8.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1218, allocations: 59.39 kB / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.122, allocations: 152.5 kB / 0.491 GB, free: 8.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.122, allocations: 25.7 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.1221, allocations: 100 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1221, allocations: 15.75 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.1221, allocations: 17.72 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1222, allocations: 326.8 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1224, allocations: 27.92 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.1225, allocations: 19.98 kB / 0.4915 GB, free: 7.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1226, allocations: 53 kB / 0.4916 GB, free: 7.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1226, allocations: 0 / 0.4916 GB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002035/0.1228, allocations: 85.58 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1229, allocations: 4 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1229, allocations: 0 / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1229, allocations: 4.281 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.123, allocations: 15.98 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.123, allocations: 3.938 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.123, allocations: 11.94 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1231, allocations: 0 / 0.4917 GB, free: 7.637 MB / 382.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 8.7e-05/0.1231, allocations: 121.8 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1232, allocations: 11.89 kB / 0.4918 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.1234, allocations: 105.9 kB / 0.4919 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1234, allocations: 3.938 kB / 0.4919 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1235, allocations: 0 / 0.4919 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1235, allocations: 3.938 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.1239, allocations: 354.5 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1239, allocations: 0 / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.124, allocations: 11.98 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.124, allocations: 0 / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.124, allocations: 7.938 kB / 0.4923 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.124, allocations: 4 kB / 0.4923 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.124, allocations: 192 / 0.4923 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1243, allocations: 183.4 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.1243, allocations: 85.02 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1244, allocations: 7.938 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.1244, allocations: 11.98 kB / 0.4926 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1245, allocations: 0 / 0.4926 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1245, allocations: 4 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.448e-05/0.1246, allocations: 122.1 kB / 0.4927 GB, free: 6.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1246, allocations: 0 / 0.4927 GB, free: 6.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1248, allocations: 19.94 kB / 0.4927 GB, free: 6.492 MB / 382.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.001393/0.1262, allocations: 1.008 MB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1265, allocations: 63.83 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1265, allocations: 0 / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.1266, allocations: 23.98 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.127, allocations: 15.98 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.1287, allocations: 1.46 MB / 0.4952 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.129, allocations: 0.6924 MB / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.1291, allocations: 11.98 kB / 0.4959 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.1292, allocations: 23.42 kB / 0.4959 GB, free: 3.102 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1292, allocations: 4 kB / 0.4959 GB, free: 3.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.1488, allocations: 2.549 MB / 0.4984 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.91, allocations: 0 / 0.4984 GB, free: 0.5312 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches