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.001341/0.001341, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001375/0.001375, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.1936/0.1936, allocations: 43.53 MB / 314.1 MB, free: 440 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.001529/0.00153, allocations: 75.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003223/0.1177, allocations: 1.562 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1191, allocations: 0.9339 MB / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.1192, allocations: 3.938 kB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1195, allocations: 31.84 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1198, allocations: 39.78 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1201, allocations: 67.84 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1202, allocations: 55.84 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1204, allocations: 19.97 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.134e-05/0.1204, allocations: 23.86 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1206, allocations: 31.84 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1206, allocations: 0 / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1207, allocations: 55.97 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.1208, allocations: 4 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.1208, allocations: 19.86 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.121, allocations: 91.77 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.121, allocations: 0 / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.121, allocations: 4 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.121, allocations: 3.938 kB / 0.4903 GB, free: 9.32 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.0004854/0.1215, allocations: 375.2 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1216, allocations: 15.89 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1216, allocations: 34.73 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.1217, allocations: 8.844 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.122, allocations: 184.3 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.122, allocations: 4.375 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.122, allocations: 384 / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1222, allocations: 71.27 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1222, allocations: 0 / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1223, allocations: 8 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1223, allocations: 0 / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.1224, allocations: 19.98 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1227, allocations: 264.9 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1229, allocations: 50.5 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.123, allocations: 20.94 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.123, allocations: 0 / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1231, allocations: 38.56 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1231, allocations: 0 / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005826/0.1237, allocations: 137.3 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.1237, allocations: 77.11 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1239, allocations: 133.8 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1239, allocations: 25.7 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.1239, allocations: 92.05 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.124, allocations: 27.66 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.124, allocations: 17.72 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1242, allocations: 326.8 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.1243, allocations: 19.92 kB / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.1244, allocations: 33.7 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1245, allocations: 44.83 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1245, allocations: 3.938 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001715/0.1247, allocations: 85.8 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1247, allocations: 7.281 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1247, allocations: 0 / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1247, allocations: 4 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.1248, allocations: 12.27 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1248, allocations: 0 / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.1248, allocations: 4 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1249, allocations: 3.938 kB / 0.4923 GB, free: 6.965 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 7.607e-05/0.1249, allocations: 121.8 kB / 0.4924 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.125, allocations: 11.89 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.1252, allocations: 97.55 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1252, allocations: 0 / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1252, allocations: 0 / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1252, allocations: 0 / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.1256, allocations: 346.5 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1256, allocations: 0 / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.1257, allocations: 11.98 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1257, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1257, allocations: 4 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1257, allocations: 3.938 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1257, allocations: 4 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.126, allocations: 175.6 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.126, allocations: 81.17 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.126, allocations: 4 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1261, allocations: 7.938 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1262, allocations: 7.984 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1262, allocations: 0 / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.1262, allocations: 103.3 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.414e-06/0.1263, allocations: 3.938 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1266, allocations: 27.92 kB / 0.4933 GB, free: 5.863 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.001314/0.1279, allocations: 1.045 MB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1281, allocations: 47.91 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1281, allocations: 0 / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/0.1282, allocations: 23.98 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1285, allocations: 15.92 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1302, allocations: 1.381 MB / 0.4958 GB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1305, allocations: 0.6885 MB / 0.4964 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.1305, allocations: 19.98 kB / 0.4964 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.1306, allocations: 23.42 kB / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1306, allocations: 0 / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.1521, allocations: 2.745 MB / 0.4991 GB, free: 15.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/7.941, allocations: 8 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