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.001214/0.001214, allocations: 118 kB / 17.08 MB, free: 5.969 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.001171/0.001171, allocations: 194.4 kB / 18.01 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.336/1.336, 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.1996/0.1996, allocations: 43.53 MB / 314.8 MB, free: 452 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.001421/0.001421, allocations: 73.45 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.08906, 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.002684/0.09178, allocations: 1.566 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005856/0.09239, allocations: 327.6 kB / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.09246, allocations: 0 / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.093, allocations: 451.2 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.09333, allocations: 255.4 kB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.0937, allocations: 151.7 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.09392, allocations: 163.6 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.09401, allocations: 19.92 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.09414, allocations: 107.8 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.09435, allocations: 203.6 kB / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.09438, allocations: 4 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.09446, allocations: 19.94 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.09455, allocations: 87.69 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.09464, allocations: 103 kB / 0.4919 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.09491, allocations: 239 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.09492, allocations: 0 / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09493, allocations: 0 / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.09494, 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.0006424/0.09559, allocations: 0.6219 MB / 0.4927 GB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.09563, allocations: 11.89 kB / 0.4927 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.09569, allocations: 40.47 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.09595, allocations: 304.1 kB / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.09597, allocations: 384 / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.09599, allocations: 4.375 kB / 0.4931 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.09613, allocations: 61.73 kB / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.09614, allocations: 0 / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.09615, allocations: 0 / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.09616, allocations: 0 / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.09625, allocations: 19.98 kB / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.09672, allocations: 388.7 kB / 0.4935 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.09681, allocations: 34.56 kB / 0.4935 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.09686, allocations: 16.92 kB / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.09689, allocations: 7.984 kB / 0.4936 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.09693, allocations: 30.56 kB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.485e-06/0.09693, allocations: 4 kB / 0.4936 GB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002498/0.09719, allocations: 101.1 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.09723, allocations: 55.41 kB / 0.4938 GB, free: 6.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.09799, allocations: 0.8535 MB / 0.4946 GB, free: 5.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.09801, allocations: 25.7 kB / 0.4946 GB, free: 5.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.09817, allocations: 220.1 kB / 0.4948 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.09819, allocations: 11.84 kB / 0.4948 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.09823, allocations: 17.84 kB / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.09837, allocations: 362.7 kB / 0.4952 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.09842, allocations: 15.98 kB / 0.4952 GB, free: 4.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.09846, allocations: 4 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.09854, allocations: 28.83 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09855, allocations: 4 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001484/0.09871, allocations: 101.1 kB / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.09873, allocations: 4 kB / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.09874, allocations: 0 / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.09876, allocations: 0 / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.09882, allocations: 11.98 kB / 0.4954 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.09884, allocations: 4 kB / 0.4954 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.09889, allocations: 3.984 kB / 0.4954 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.0989, allocations: 0 / 0.4954 GB, free: 4.559 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.0001752/0.09908, allocations: 213.7 kB / 0.4956 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.09914, allocations: 51.45 kB / 0.4956 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.09933, allocations: 108.6 kB / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.09935, allocations: 0 / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.09936, allocations: 0 / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.09936, allocations: 3.938 kB / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.09963, allocations: 285.5 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.09964, allocations: 0 / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.09968, allocations: 4 kB / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.09969, allocations: 0 / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.0997, allocations: 4.031 kB / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.09971, allocations: 0 / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.09972, allocations: 7.969 kB / 0.496 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.0999, allocations: 187 kB / 0.4962 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.09999, allocations: 108.5 kB / 0.4963 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1, allocations: 0 / 0.4963 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.1001, allocations: 7.984 kB / 0.4963 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.1001, allocations: 7.969 kB / 0.4963 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1001, allocations: 0 / 0.4963 GB, free: 3.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005613/0.1007, allocations: 0.6472 MB / 0.4969 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1007, allocations: 0 / 0.4969 GB, free: 2.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.101, allocations: 23.98 kB / 0.497 GB, free: 2.82 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.0007585/0.1017, allocations: 352.9 kB / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1019, allocations: 23.98 kB / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1019, allocations: 0 / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.1019, allocations: 11.98 kB / 0.4973 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1023, allocations: 33.75 kB / 0.4974 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1033, allocations: 0.7962 MB / 0.4981 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1037, allocations: 0.822 MB / 0.4989 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.1038, allocations: 11.44 kB / 0.499 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1038, allocations: 0 / 0.499 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of Templates: time 0.006398/0.1102, allocations: 3.527 MB / 0.5024 GB, free: 13.21 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