Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19",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.0011/0.0011, allocations: 105.7 kB / 16.4 MB, free: 6.5 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.001349/0.001349, allocations: 189.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.414/1.414, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.22/0.22, allocations: 43.52 MB / 314.1 MB, free: 448 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.001585/0.001585, allocations: 66.03 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002942/0.1237, allocations: 1.554 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.125, allocations: 0.9378 MB / 0.4898 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.1251, allocations: 3.938 kB / 0.4898 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1254, allocations: 23.92 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1255, allocations: 43.77 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1258, allocations: 71.78 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1259, allocations: 59.83 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1261, allocations: 15.98 kB / 0.49 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.1261, allocations: 19.92 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1262, allocations: 35.78 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1263, allocations: 0 / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1264, allocations: 51.98 kB / 0.4901 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.1264, allocations: 7.984 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.1265, allocations: 19.86 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1267, allocations: 87.78 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1267, allocations: 4 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1267, allocations: 0 / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1267, allocations: 0 / 0.4903 GB, free: 9.316 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.0004729/0.1272, allocations: 382.6 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1272, allocations: 15.89 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.1273, allocations: 38.69 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.1273, allocations: 8.844 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1275, allocations: 192.2 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1275, allocations: 384 / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1275, allocations: 4.375 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1277, allocations: 67.33 kB / 0.4909 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1277, allocations: 0 / 0.4909 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1277, allocations: 4 kB / 0.4909 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1278, allocations: 0 / 0.4909 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.1278, allocations: 23.92 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.1282, allocations: 272.9 kB / 0.4912 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1284, allocations: 38.56 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.1284, allocations: 16.95 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1285, allocations: 3.984 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1285, allocations: 42.5 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1285, allocations: 0 / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005159/0.129, allocations: 133.4 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1291, allocations: 81.05 kB / 0.4915 GB, free: 7.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1292, allocations: 137.8 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1292, allocations: 25.7 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.1293, allocations: 96.05 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1293, allocations: 15.73 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1293, allocations: 25.66 kB / 0.4918 GB, free: 7.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1295, allocations: 322.8 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.1295, allocations: 11.98 kB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.1296, allocations: 41.75 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1297, allocations: 40.84 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1298, allocations: 4.031 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000187/0.1299, allocations: 85.5 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.13, allocations: 4 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.13, allocations: 0 / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.13, allocations: 0 / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.1301, allocations: 12.28 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1301, allocations: 0 / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.1301, allocations: 11.98 kB / 0.4923 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1301, allocations: 3.938 kB / 0.4923 GB, free: 6.949 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.431e-05/0.1302, allocations: 121.8 kB / 0.4924 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.1303, allocations: 7.906 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.1305, allocations: 97.53 kB / 0.4925 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1305, allocations: 0 / 0.4925 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1305, allocations: 0 / 0.4925 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1305, allocations: 0 / 0.4925 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1309, allocations: 346.8 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.131, allocations: 4.062 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.131, allocations: 15.98 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1311, allocations: 0 / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1311, allocations: 0 / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1311, allocations: 3.938 kB / 0.4929 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1311, allocations: 7.938 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1313, allocations: 171.4 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1314, allocations: 85.09 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1314, allocations: 0 / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1315, allocations: 7.938 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1315, allocations: 7.984 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1315, allocations: 0 / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.619e-05/0.1316, allocations: 103.3 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1316, allocations: 0 / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1319, allocations: 27.94 kB / 0.4933 GB, free: 5.852 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.001402/0.1333, allocations: 1.05 MB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1335, allocations: 43.97 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1335, allocations: 0 / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.1336, allocations: 27.92 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.134, allocations: 15.92 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1354, allocations: 1.378 MB / 0.4957 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1357, allocations: 0.6885 MB / 0.4964 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.309e-05/0.1358, allocations: 16.34 kB / 0.4964 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.1358, allocations: 27.42 kB / 0.4965 GB, free: 2.523 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1358, allocations: 0 / 0.4965 GB, free: 2.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.1569, allocations: 2.755 MB / 0.4992 GB, free: 15.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/7.999, allocations: 7.969 kB / 0.4992 GB, free: 15.7 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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