Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001639/0.001638, allocations: 106 kB / 16.41 MB, free: 6.496 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.001736/0.001736, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.351/1.351, 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.1997/0.1997, 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.001458/0.001458, allocations: 77.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002622/0.1073, allocations: 1.558 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1085, allocations: 0.9262 MB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.1086, allocations: 3.938 kB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1088, allocations: 27.86 kB / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.109, allocations: 39.78 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1093, allocations: 79.77 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1094, allocations: 51.84 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.1095, allocations: 23.97 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.1095, allocations: 19.92 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1097, allocations: 27.84 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1097, allocations: 4 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.225e-05/0.1098, allocations: 51.92 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.1098, allocations: 15.97 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.1099, allocations: 15.88 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.11, allocations: 83.78 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1101, allocations: 0 / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1101, allocations: 4 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1101, allocations: 7.938 kB / 0.4903 GB, free: 9.336 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.0004253/0.1105, allocations: 375.2 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1105, allocations: 11.89 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.1106, allocations: 30.75 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.1106, allocations: 8.844 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.1108, allocations: 196.2 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1108, allocations: 384 / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1109, allocations: 8.375 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.111, allocations: 63.34 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.111, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1111, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1111, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.1112, allocations: 23.97 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.1115, allocations: 268.9 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.1117, allocations: 50.56 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.1118, allocations: 16.94 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1118, allocations: 4 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1119, allocations: 30.56 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1119, allocations: 0 / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005188/0.1124, allocations: 141.3 kB / 0.4914 GB, free: 7.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.1125, allocations: 81.11 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1126, allocations: 129.8 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1126, allocations: 29.64 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.1127, allocations: 99.97 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.1127, allocations: 19.75 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.1127, allocations: 17.72 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.1128, allocations: 322.8 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.1129, allocations: 23.92 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.113, allocations: 33.77 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1131, allocations: 48.83 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1131, allocations: 0 / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001747/0.1133, allocations: 77.61 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1134, allocations: 8 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1134, allocations: 0 / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1134, allocations: 0 / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.1134, allocations: 15.92 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1135, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.1135, allocations: 4 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1135, allocations: 11.92 kB / 0.4923 GB, free: 6.977 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.436e-05/0.1136, allocations: 125.8 kB / 0.4924 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1136, allocations: 3.906 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.1139, allocations: 89.62 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1139, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1139, allocations: 288 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1139, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.1144, allocations: 354.7 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1144, allocations: 4.062 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.1144, allocations: 11.98 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1145, allocations: 0 / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1145, allocations: 4 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1145, allocations: 3.938 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1145, allocations: 0 / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1147, allocations: 183.4 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.1148, allocations: 81.11 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1148, allocations: 0 / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.1149, allocations: 11.92 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1149, allocations: 4 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1149, allocations: 3.938 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.115, allocations: 103.3 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.115, allocations: 0 / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1153, allocations: 27.98 kB / 0.4933 GB, free: 5.875 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.001392/0.1167, allocations: 1.042 MB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1169, allocations: 43.95 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1169, allocations: 4 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.117, allocations: 23.92 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1174, allocations: 23.92 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.1189, allocations: 1.377 MB / 0.4957 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1191, allocations: 0.6885 MB / 0.4964 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.1192, allocations: 12.45 kB / 0.4964 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.1193, allocations: 23.42 kB / 0.4965 GB, free: 2.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1193, allocations: 0 / 0.4965 GB, free: 2.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.1408, allocations: 2.759 MB / 0.4991 GB, free: 15.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.943, allocations: 7.844 kB / 0.4992 GB, free: 15.72 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time