Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 117.4 kB / 17.09 MB, free: 5.961 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.001323/0.001323, allocations: 195 kB / 18.02 MB, free: 5.051 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.445/1.445, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1953/0.1953, allocations: 43.52 MB / 314.8 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.001313/0.001313, allocations: 68.45 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09011, allocations: 57.8 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002684/0.09283, allocations: 1.551 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.0941, allocations: 0.9378 MB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.09418, allocations: 11.94 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.09439, allocations: 23.84 kB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.09461, allocations: 39.83 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.09484, allocations: 79.78 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.09497, allocations: 51.84 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.09508, allocations: 19.97 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.09513, allocations: 23.92 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.09526, allocations: 27.8 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.09529, allocations: 4 kB / 0.4912 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.0954, allocations: 47.97 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.09545, allocations: 11.98 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.09548, allocations: 19.88 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.09567, allocations: 83.77 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09568, allocations: 0 / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09569, allocations: 4 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.0957, allocations: 0 / 0.4914 GB, free: 8.832 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.0004325/0.09614, allocations: 395.1 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.09618, allocations: 11.89 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.09622, allocations: 4.938 kB / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.09641, allocations: 188.2 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.09643, allocations: 384 / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.09645, allocations: 384 / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.0966, allocations: 63.53 kB / 0.492 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.09662, allocations: 0 / 0.492 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.09664, allocations: 8 kB / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.09665, allocations: 0 / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.09674, allocations: 27.91 kB / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.09707, allocations: 268.9 kB / 0.4923 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.09726, allocations: 42.55 kB / 0.4924 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.09732, allocations: 16.86 kB / 0.4924 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.09735, allocations: 0 / 0.4924 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.09739, allocations: 46.5 kB / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.09739, allocations: 0 / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005161/0.09791, allocations: 129.8 kB / 0.4926 GB, free: 7.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.09798, allocations: 85.03 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.0981, allocations: 133.8 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.09812, allocations: 25.7 kB / 0.4928 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.09818, allocations: 100 kB / 0.4929 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.0982, allocations: 7.812 kB / 0.4929 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.09824, allocations: 17.72 kB / 0.4929 GB, free: 7.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.09835, allocations: 330.7 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.09842, allocations: 11.98 kB / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.0985, allocations: 41.83 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.09863, allocations: 48.83 kB / 0.4933 GB, free: 6.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.09864, allocations: 0 / 0.4933 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001714/0.09881, allocations: 81.52 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.09883, allocations: 4 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.09884, allocations: 0 / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.09886, allocations: 12.02 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.09893, allocations: 11.98 kB / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.09894, allocations: 0 / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.09899, allocations: 11.98 kB / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.099, allocations: 0 / 0.4934 GB, free: 6.508 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.951e-05/0.09908, allocations: 125.7 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.09912, allocations: 4 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.09934, allocations: 97.47 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.09935, allocations: 0 / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.09936, allocations: 0 / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.09937, allocations: 0 / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.09977, allocations: 342.5 kB / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.09978, allocations: 0 / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.09984, allocations: 12.19 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.09985, allocations: 0 / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.09986, allocations: 8 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.09987, allocations: 7.922 kB / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.09988, allocations: 7.938 kB / 0.494 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.1001, allocations: 163.5 kB / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.1001, allocations: 85.02 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1001, allocations: 0 / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.1002, allocations: 11.92 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.1003, allocations: 8 kB / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1003, allocations: 0 / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.718e-05/0.1004, allocations: 107.2 kB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1004, allocations: 0 / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1006, allocations: 20 kB / 0.4944 GB, free: 5.418 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.0009116/0.1015, allocations: 444.5 kB / 0.4948 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1017, allocations: 51.84 kB / 0.4949 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1017, allocations: 4 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.1018, allocations: 19.98 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1021, allocations: 27.83 kB / 0.4949 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.1025, allocations: 183.1 kB / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1027, allocations: 0.6846 MB / 0.4958 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.1028, allocations: 23.38 kB / 0.4958 GB, free: 3.973 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1028, allocations: 0 / 0.4958 GB, free: 3.973 MB / 382.1 MB Notification: Performance of Templates: time 0.003168/0.106, allocations: 1.544 MB / 0.4973 GB, free: 2.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches