Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000866/0.000866, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.13/1.13, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007389/0.0007387, allocations: 98.33 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2645/0.2645, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 16 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08658/0.08692, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.001486/0.08844, allocations: 1.251 MB / 492.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004784/0.08894, allocations: 303.8 kB / 492.5 MB, free: 9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.08899, allocations: 0 / 492.5 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.08921, allocations: 79.77 kB / 492.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.08935, allocations: 51.88 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.08957, allocations: 87.81 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.08969, allocations: 51.91 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.08978, allocations: 19.89 kB / 492.8 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.08983, allocations: 35.84 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.08991, allocations: 39.88 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.08994, allocations: 4 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.925e-05/0.09, allocations: 27.94 kB / 492.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.09004, allocations: 15.98 kB / 492.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.09009, allocations: 45.52 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.09019, allocations: 68.11 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.0902, allocations: 0 / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.09021, allocations: 0 / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.09022, allocations: 4 kB / 493 MB, free: 8.473 MB / 378.7 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.0003501/0.09058, allocations: 395 kB / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.09062, allocations: 8.031 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.09065, allocations: 38.73 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.09068, allocations: 8.844 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.09083, allocations: 188.1 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.09084, allocations: 4.375 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.09086, allocations: 384 / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.09099, allocations: 61.55 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.09101, allocations: 0 / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.09102, allocations: 4 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.09103, allocations: 4 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.09111, allocations: 23.98 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.09143, allocations: 284.9 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.09161, allocations: 54.5 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.09167, allocations: 16.94 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.0917, allocations: 0 / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.09172, allocations: 38.56 kB / 494.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.09173, allocations: 0 / 494.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005045/0.09224, allocations: 177.1 kB / 494.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.09227, allocations: 51.41 kB / 494.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.09243, allocations: 206.2 kB / 494.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.09245, allocations: 25.7 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.09251, allocations: 100.1 kB / 494.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.09254, allocations: 19.72 kB / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.09255, allocations: 0 / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.09264, allocations: 326.8 kB / 495 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.09271, allocations: 23.98 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.09278, allocations: 32.05 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.09292, allocations: 60.81 kB / 495.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.09293, allocations: 0 / 495.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.09311, allocations: 97.52 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.09313, allocations: 8 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.09314, allocations: 7.875 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.09315, allocations: 0 / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.09322, allocations: 15.98 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.09323, allocations: 0 / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.09327, allocations: 8 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.09329, allocations: 11.92 kB / 495.2 MB, free: 5.992 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.09337, allocations: 121.8 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.0934, allocations: 7.906 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.09362, allocations: 109.9 kB / 495.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09364, allocations: 4 kB / 495.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.09364, allocations: 0 / 495.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.09365, allocations: 0 / 495.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.09402, allocations: 366.4 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.09404, allocations: 4 kB / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.0941, allocations: 19.92 kB / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.09411, allocations: 4 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.09412, allocations: 4.594 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.09413, allocations: 7.938 kB / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.09413, allocations: 0 / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.09434, allocations: 195.3 kB / 496.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.09439, allocations: 85 kB / 496.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.09441, allocations: 4 kB / 496.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.09449, allocations: 15.92 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.09452, allocations: 0 / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.09453, allocations: 4 kB / 496.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.09463, allocations: 168 kB / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09464, allocations: 4 kB / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.09485, allocations: 12 kB / 496.4 MB, free: 4.773 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/0.09591, allocations: 1.028 MB / 497.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.0961, allocations: 63.95 kB / 497.4 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.09611, allocations: 0 / 497.4 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.09619, allocations: 35.92 kB / 497.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.09647, allocations: 15.92 kB / 497.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/0.09744, allocations: 0.7267 MB / 498.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.09765, allocations: 0.7081 MB / 498.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.09771, allocations: 35.42 kB / 499 MB, free: 2.102 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.09772, allocations: 0 / 499 MB, free: 2.102 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.578/2.676, allocations: 1.895 MB / 0.4891 GB, free: 208 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches