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.001182/0.001182, allocations: 104.2 kB / 16.4 MB, free: 6.492 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.001121/0.001121, allocations: 189.5 kB / 17.33 MB, free: 5.77 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2103/0.2103, allocations: 43.53 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.002485/0.002485, allocations: 72.42 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1345, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003124/0.1377, allocations: 1.554 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1391, allocations: 0.9417 MB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.1392, allocations: 0 / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1394, allocations: 27.84 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1397, allocations: 35.84 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1399, allocations: 79.77 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1401, allocations: 55.84 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.1402, allocations: 15.98 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.1402, allocations: 19.92 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1404, allocations: 35.78 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1404, allocations: 0 / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1405, allocations: 47.98 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.1406, allocations: 11.97 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.1406, allocations: 19.88 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1409, allocations: 91.77 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1409, allocations: 0 / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1409, allocations: 4 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1409, allocations: 0 / 0.4903 GB, free: 9.348 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.0004843/0.1414, allocations: 383.1 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1414, allocations: 15.89 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.1415, allocations: 30.75 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.1415, allocations: 8.844 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1417, allocations: 188.3 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-06/0.1417, allocations: 384 / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1417, allocations: 384 / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1419, allocations: 67.34 kB / 0.4909 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1419, allocations: 3.984 kB / 0.4909 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.142, allocations: 4 kB / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.142, allocations: 0 / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.1421, allocations: 23.92 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.1424, allocations: 268.9 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1426, allocations: 42.56 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.1426, allocations: 20.86 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1427, allocations: 3.938 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.1427, allocations: 38.64 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.1427, allocations: 0 / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000545/0.1433, allocations: 137.3 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.1434, allocations: 77.11 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1435, allocations: 133.8 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1435, allocations: 29.7 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.1436, allocations: 92.05 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1436, allocations: 19.69 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.1436, allocations: 21.64 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1438, allocations: 326.8 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.1438, allocations: 20.05 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.1439, allocations: 33.7 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.144, allocations: 40.83 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1441, allocations: 0 / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00017/0.1442, allocations: 89.55 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1443, allocations: 7.984 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1443, allocations: 0 / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1443, allocations: 4 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.1444, allocations: 8 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1444, allocations: 0 / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.1444, allocations: 7.984 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1444, allocations: 7.922 kB / 0.4923 GB, free: 6.984 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.505e-05/0.1445, allocations: 121.8 kB / 0.4924 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1446, allocations: 8.188 kB / 0.4924 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.1448, allocations: 93.56 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1448, allocations: 3.984 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1448, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1448, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.1452, allocations: 354.7 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1453, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.1453, allocations: 11.98 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1453, allocations: 3.938 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1453, allocations: 0 / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1453, allocations: 7.938 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1454, allocations: 0 / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1456, allocations: 171.4 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.1456, allocations: 81.11 kB / 0.4931 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1456, allocations: 3.984 kB / 0.4931 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.1457, allocations: 11.94 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.1457, allocations: 4 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1458, allocations: 3.984 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.244e-05/0.1458, allocations: 103.3 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1459, allocations: 0 / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1461, allocations: 23.94 kB / 0.4933 GB, free: 5.887 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.001331/0.1474, allocations: 1.053 MB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1476, allocations: 43.97 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1476, allocations: 0 / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.1477, allocations: 27.92 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1481, allocations: 15.92 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1495, allocations: 1.381 MB / 0.4957 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1498, allocations: 0.6885 MB / 0.4964 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.1499, allocations: 16.44 kB / 0.4964 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.1499, allocations: 19.42 kB / 0.4965 GB, free: 2.562 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1499, allocations: 0 / 0.4965 GB, free: 2.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.1707, allocations: 2.756 MB / 0.4991 GB, free: 15.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/7.85, allocations: 11.84 kB / 0.4992 GB, free: 15.73 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