Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 117.9 kB / 17.08 MB, free: 6.008 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.001363/0.001363, allocations: 194.4 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 1.511/1.511, 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.2022/0.2022, allocations: 43.52 MB / 314.8 MB, free: 464 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.001433/0.001434, allocations: 67.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09336, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002706/0.0961, allocations: 1.558 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005844/0.0967, allocations: 335.6 kB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.09678, allocations: 4 kB / 0.4904 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.09728, allocations: 447.2 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.09761, allocations: 259.4 kB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.09801, allocations: 147.6 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.09823, allocations: 159.7 kB / 0.4914 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.09834, allocations: 27.91 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.09847, allocations: 103.8 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.0987, allocations: 211.6 kB / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.09873, allocations: 0 / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.319e-05/0.09881, allocations: 23.98 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.0989, allocations: 79.7 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/0.09898, allocations: 103 kB / 0.4919 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.09925, allocations: 239 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.09926, allocations: 4 kB / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09927, allocations: 0 / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.09928, allocations: 0 / 0.4921 GB, free: 8.129 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.0006287/0.09991, allocations: 0.6219 MB / 0.4927 GB, free: 7.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.09995, allocations: 11.89 kB / 0.4927 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1, allocations: 44.47 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1003, allocations: 296.1 kB / 0.4931 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1003, allocations: 4.375 kB / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1003, allocations: 4.375 kB / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1004, allocations: 49.81 kB / 0.4931 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1005, allocations: 3.938 kB / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1005, allocations: 3.938 kB / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1005, allocations: 0 / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.1006, allocations: 27.98 kB / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1011, allocations: 380.7 kB / 0.4935 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.1012, allocations: 34.56 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.1012, allocations: 24.84 kB / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1012, allocations: 0 / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1013, allocations: 30.56 kB / 0.4936 GB, free: 6.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1013, allocations: 4 kB / 0.4936 GB, free: 6.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002484/0.1015, allocations: 101.2 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1016, allocations: 51.41 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.1023, allocations: 0.8613 MB / 0.4946 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1023, allocations: 25.7 kB / 0.4946 GB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1025, allocations: 216.1 kB / 0.4948 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1025, allocations: 7.844 kB / 0.4948 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.1026, allocations: 21.84 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1027, allocations: 366.7 kB / 0.4952 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.1027, allocations: 11.94 kB / 0.4952 GB, free: 4.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.1028, allocations: 11.98 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.423e-05/0.1029, allocations: 28.84 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1029, allocations: 3.938 kB / 0.4953 GB, free: 4.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001552/0.103, allocations: 93.19 kB / 0.4953 GB, free: 4.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1031, allocations: 4 kB / 0.4953 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1031, allocations: 3.984 kB / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1031, allocations: 4 kB / 0.4954 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.1031, allocations: 4 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1032, allocations: 0 / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.1032, allocations: 4 kB / 0.4954 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1032, allocations: 4 kB / 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.0001705/0.1034, allocations: 225.6 kB / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.1034, allocations: 43.47 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.1036, allocations: 104.6 kB / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1036, allocations: 0 / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1037, allocations: 0 / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1037, allocations: 0 / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1039, allocations: 293.4 kB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1039, allocations: 0 / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.104, allocations: 7.984 kB / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.104, allocations: 0 / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.104, allocations: 4.031 kB / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.104, allocations: 0 / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.104, allocations: 0 / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1042, allocations: 190.9 kB / 0.4962 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.1043, allocations: 112.5 kB / 0.4963 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1043, allocations: 0 / 0.4963 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.1044, allocations: 4 kB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.1044, allocations: 4.031 kB / 0.4963 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1044, allocations: 0 / 0.4963 GB, free: 3.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005422/0.105, allocations: 0.6511 MB / 0.4969 GB, free: 2.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.105, allocations: 0 / 0.4969 GB, free: 2.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1052, allocations: 16 kB / 0.497 GB, free: 2.832 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.0007364/0.1059, allocations: 349.1 kB / 0.4973 GB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.1061, allocations: 27.92 kB / 0.4973 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1061, allocations: 0 / 0.4973 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.394e-05/0.1061, allocations: 12 kB / 0.4973 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1065, allocations: 33.8 kB / 0.4974 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.1075, allocations: 0.8 MB / 0.4981 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1079, allocations: 0.8143 MB / 0.4989 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.1079, allocations: 11.44 kB / 0.4989 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1079, allocations: 0 / 0.4989 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of Templates: time 0.006134/0.114, allocations: 3.476 MB / 0.5023 GB, free: 13.29 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches