Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33",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.001157/0.001157, allocations: 102.3 kB / 16.4 MB, free: 6.473 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.001192/0.001192, allocations: 192.1 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2151/0.2151, 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.001689/0.001689, allocations: 75.83 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1129, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test33): time 0.002946/0.1159, allocations: 1.558 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1174, allocations: 0.9494 MB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.1175, allocations: 0 / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1179, allocations: 19.86 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1181, allocations: 47.78 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1185, allocations: 99.73 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1186, allocations: 55.78 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1188, allocations: 23.97 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.1188, allocations: 23.91 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.1193, allocations: 23.86 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1193, allocations: 4 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1194, allocations: 47.97 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.1195, allocations: 11.98 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.1196, allocations: 19.88 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1198, allocations: 87.7 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1198, allocations: 8 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1198, allocations: 0 / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1198, allocations: 0 / 0.4903 GB, free: 9.305 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.0005247/0.1204, allocations: 387.1 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1204, allocations: 15.89 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1205, allocations: 30.75 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.1205, allocations: 8.844 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1207, allocations: 184.3 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1208, allocations: 384 / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1208, allocations: 4.375 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.121, allocations: 67.28 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.121, allocations: 4 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.121, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.121, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.1211, allocations: 23.97 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.1215, allocations: 280.9 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1217, allocations: 46.5 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.1218, allocations: 16.94 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1218, allocations: 0 / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1218, allocations: 38.56 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1218, allocations: 0 / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005589/0.1224, allocations: 149.3 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1225, allocations: 81.11 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1226, allocations: 133.8 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1226, allocations: 25.7 kB / 0.4917 GB, free: 7.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.1227, allocations: 96.05 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.1227, allocations: 27.66 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1228, allocations: 21.72 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1229, allocations: 322.8 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.123, allocations: 19.98 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.1231, allocations: 33.7 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1232, allocations: 56.95 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1232, allocations: 4.031 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001959/0.1234, allocations: 89.56 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1235, allocations: 4 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1235, allocations: 0 / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1235, allocations: 0 / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.1236, allocations: 15.98 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1236, allocations: 0 / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.1236, allocations: 4 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1236, allocations: 7.938 kB / 0.4924 GB, free: 6.898 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.827e-05/0.1237, allocations: 125.7 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1238, allocations: 7.906 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.124, allocations: 89.62 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.124, allocations: 0 / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.124, allocations: 4 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.124, allocations: 0 / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.1245, allocations: 354.4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1245, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.1245, allocations: 15.98 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1245, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1246, allocations: 4 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1246, allocations: 3.938 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1246, allocations: 192 / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1248, allocations: 187.4 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.1248, allocations: 81.05 kB / 0.4932 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1249, allocations: 4 kB / 0.4932 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.125, allocations: 11.92 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.125, allocations: 4 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.125, allocations: 0 / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.869e-05/0.1251, allocations: 107.2 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1251, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1253, allocations: 31.94 kB / 0.4934 GB, free: 5.777 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.001362/0.1267, allocations: 1.05 MB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1269, allocations: 51.91 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1269, allocations: 0 / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.127, allocations: 27.97 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1274, allocations: 15.94 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1289, allocations: 1.416 MB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1292, allocations: 0.6885 MB / 0.4966 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.1293, allocations: 16.05 kB / 0.4966 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.1293, allocations: 23.44 kB / 0.4966 GB, free: 2.406 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1293, allocations: 0 / 0.4966 GB, free: 2.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.151, allocations: 2.772 MB / 0.4993 GB, free: 15.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/7.899, allocations: 7.969 kB / 0.4993 GB, free: 15.56 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time