Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 113.2 kB / 17.08 MB, free: 6.02 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.001185/0.001185, allocations: 197.3 kB / 18.01 MB, free: 5.098 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.275/1.275, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.189/0.189, 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.001295/0.001295, allocations: 67.91 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09389, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002938/0.09686, allocations: 1.693 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.09808, allocations: 0.7962 MB / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.09818, allocations: 7.938 kB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.09848, allocations: 31.83 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.0987, allocations: 59.69 kB / 0.4911 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.09896, allocations: 91.7 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.09913, allocations: 95.69 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.09924, allocations: 16.22 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.09934, allocations: 39.8 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.09942, allocations: 31.83 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.09944, allocations: 4 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.09954, allocations: 43.98 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.0996, allocations: 27.86 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.09966, allocations: 39.72 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.09986, allocations: 103.8 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.09988, allocations: 4 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.09988, allocations: 0 / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.0999, allocations: 3.938 kB / 0.4916 GB, free: 8.625 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000505/0.1004, allocations: 399 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1005, allocations: 11.89 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.1005, allocations: 16.75 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1008, allocations: 211.9 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1008, allocations: 4.375 kB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1008, allocations: 8.125 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.101, allocations: 53.67 kB / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.101, allocations: 0 / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.101, allocations: 0 / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.101, allocations: 7.984 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.1011, allocations: 16 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.1014, allocations: 280.9 kB / 0.4926 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1016, allocations: 66.61 kB / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.1017, allocations: 20.84 kB / 0.4927 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1017, allocations: 4 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.1018, allocations: 63.39 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1019, allocations: 0 / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005087/0.1024, allocations: 177.1 kB / 0.4929 GB, free: 7.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1024, allocations: 55.41 kB / 0.4929 GB, free: 7.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1026, allocations: 170.2 kB / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1026, allocations: 29.64 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.1027, allocations: 100.1 kB / 0.4932 GB, free: 6.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1027, allocations: 23.66 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.1027, allocations: 25.7 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1029, allocations: 326.8 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.1029, allocations: 20 kB / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.103, allocations: 42.02 kB / 0.4937 GB, free: 6.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1031, allocations: 57.7 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1031, allocations: 0 / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.1033, allocations: 105.6 kB / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1033, allocations: 4 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1033, allocations: 8.094 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1034, allocations: 0 / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.1035, allocations: 16 kB / 0.4938 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1035, allocations: 7.922 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.1035, allocations: 7.938 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1035, allocations: 4 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.626e-05/0.1036, allocations: 129.4 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.1037, allocations: 11.81 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.1037, allocations: 24.7 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1037, allocations: 0 / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1037, allocations: 0 / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1037, allocations: 3.938 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.1041, allocations: 387.3 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1041, allocations: 4 kB / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.1042, allocations: 4 kB / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1042, allocations: 4 kB / 0.4944 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1042, allocations: 3.938 kB / 0.4944 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1042, allocations: 4.031 kB / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1042, allocations: 7.984 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1044, allocations: 196.2 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.1045, allocations: 85.02 kB / 0.4947 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1045, allocations: 11.92 kB / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.1046, allocations: 7.938 kB / 0.4947 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1046, allocations: 11.98 kB / 0.4947 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1047, allocations: 4 kB / 0.4947 GB, free: 5.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.29e-05/0.1048, allocations: 132.1 kB / 0.4948 GB, free: 4.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1048, allocations: 0 / 0.4948 GB, free: 4.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.105, allocations: 19.98 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001006/0.106, allocations: 467 kB / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.1062, allocations: 59.91 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1062, allocations: 0 / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.1063, allocations: 27.94 kB / 0.4954 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1066, allocations: 39.95 kB / 0.4954 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.1071, allocations: 244.9 kB / 0.4957 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1074, allocations: 0.7002 MB / 0.4963 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.1074, allocations: 15.44 kB / 0.4964 GB, free: 3.402 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1074, allocations: 3.938 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of Templates: time 0.003549/0.111, allocations: 1.898 MB / 0.4982 GB, free: 1.504 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches