Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 113 kB / 17.08 MB, free: 6.016 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.00211/0.002111, allocations: 199 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.588/2.588, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.4399/0.4399, allocations: 43.52 MB / 314.8 MB, free: 472 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.002928/0.002928, allocations: 63.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2044, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.005169/0.2096, allocations: 1.562 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2109, allocations: 331.6 kB / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.211, allocations: 0 / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005093/0.2162, allocations: 455.1 kB / 0.4908 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006177/0.2168, allocations: 255.4 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008075/0.2177, allocations: 147.7 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.2181, allocations: 159.7 kB / 0.4914 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.2183, allocations: 19.91 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.2186, allocations: 107.8 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.219, allocations: 207.6 kB / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.219, allocations: 4 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.2192, allocations: 19.98 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.2194, allocations: 87.69 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.2196, allocations: 99.06 kB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.2201, allocations: 239 kB / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.2201, allocations: 0 / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2201, allocations: 3.938 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.2202, allocations: 0 / 0.4921 GB, free: 8.125 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.001209/0.2214, allocations: 0.6219 MB / 0.4927 GB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.2215, allocations: 15.88 kB / 0.4927 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2216, allocations: 36.47 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.2221, allocations: 304.1 kB / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2221, allocations: 4.312 kB / 0.4931 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2222, allocations: 384 / 0.4931 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2224, allocations: 53.81 kB / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2224, allocations: 0 / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2225, allocations: 0 / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.2225, allocations: 7.984 kB / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.2226, allocations: 23.92 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/0.2235, allocations: 388.7 kB / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2236, allocations: 26.56 kB / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.2238, allocations: 20.91 kB / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.2238, allocations: 0 / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.2239, allocations: 34.5 kB / 0.4936 GB, free: 6.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.355e-06/0.2239, allocations: 4 kB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005137/0.2244, allocations: 101.2 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.2245, allocations: 51.41 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.226, allocations: 0.8574 MB / 0.4946 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.226, allocations: 25.7 kB / 0.4946 GB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.2263, allocations: 220.1 kB / 0.4948 GB, free: 5.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.2264, allocations: 11.84 kB / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.2265, allocations: 17.84 kB / 0.4948 GB, free: 5.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.2267, allocations: 366.7 kB / 0.4952 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.2268, allocations: 8 kB / 0.4952 GB, free: 4.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.418e-05/0.2269, allocations: 15.92 kB / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2271, allocations: 24.84 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2271, allocations: 3.938 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003123/0.2274, allocations: 101.2 kB / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.2275, allocations: 4 kB / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2275, allocations: 0 / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.2275, allocations: 0 / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2277, allocations: 7.984 kB / 0.4954 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.2277, allocations: 0 / 0.4954 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.2278, allocations: 4 kB / 0.4954 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2278, allocations: 0 / 0.4954 GB, free: 4.566 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 (2): * Single equations (assignments): 2 * 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 0.0002709/0.2281, allocations: 221.6 kB / 0.4956 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.2282, allocations: 47.47 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.2285, allocations: 104.6 kB / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2285, allocations: 3.938 kB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2285, allocations: 0 / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2285, allocations: 4 kB / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.229, allocations: 281.5 kB / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.229, allocations: 0 / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.2291, allocations: 7.984 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.2291, allocations: 4 kB / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2291, allocations: 4.031 kB / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2292, allocations: 3.984 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2292, allocations: 0 / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.2295, allocations: 187 kB / 0.4962 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2297, allocations: 116.5 kB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.2297, allocations: 0 / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.2299, allocations: 0 / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.2299, allocations: 8.031 kB / 0.4963 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.23, allocations: 0 / 0.4963 GB, free: 3.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009495/0.2309, allocations: 0.6511 MB / 0.4969 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2309, allocations: 0 / 0.4969 GB, free: 2.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.2314, allocations: 20 kB / 0.497 GB, free: 2.824 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 (2): * Single equations (assignments): 2 * 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.005616/0.237, allocations: 351.1 kB / 0.4973 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.2375, allocations: 27.97 kB / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2375, allocations: 7.875 kB / 0.4973 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.2376, allocations: 8 kB / 0.4973 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.2383, allocations: 25.81 kB / 0.4974 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.2405, allocations: 0.8001 MB / 0.4981 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.2412, allocations: 0.8143 MB / 0.4989 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.2413, allocations: 11.44 kB / 0.4989 GB, free: 0.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.2413, allocations: 0 / 0.4989 GB, free: 0.75 MB / 382.1 MB Notification: Performance of Templates: time 0.01784/0.2592, allocations: 3.527 MB / 0.5024 GB, free: 13.22 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches