Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 113.2 kB / 17.08 MB, free: 5.992 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.001889/0.001889, allocations: 197.2 kB / 18.01 MB, free: 5.07 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.513/1.513, 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.2139/0.2139, allocations: 43.51 MB / 314.8 MB, free: 460 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.0014/0.0014, allocations: 69.47 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09563, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002714/0.09837, allocations: 1.689 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.09954, allocations: 0.8001 MB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.09961, allocations: 7.938 kB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.09993, allocations: 83.69 kB / 0.4911 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1001, allocations: 71.67 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1004, allocations: 95.75 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1005, allocations: 103.7 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.1006, allocations: 12.2 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.1007, allocations: 55.77 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.1008, allocations: 55.83 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1009, allocations: 4 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.101, allocations: 35.98 kB / 0.4915 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.101, allocations: 31.91 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.1011, allocations: 47.66 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1013, allocations: 115.6 kB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1013, allocations: 0 / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1013, allocations: 0 / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1013, allocations: 0 / 0.4917 GB, free: 8.5 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.0004959/0.1018, allocations: 422.4 kB / 0.4921 GB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1018, allocations: 11.89 kB / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.1019, allocations: 16.75 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1021, allocations: 212.6 kB / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1022, allocations: 8.312 kB / 0.4924 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1022, allocations: 12.06 kB / 0.4924 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1023, allocations: 53.67 kB / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1024, allocations: 0 / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1024, allocations: 4 kB / 0.4924 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1024, allocations: 0 / 0.4924 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.1025, allocations: 19.98 kB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.1028, allocations: 296.7 kB / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.103, allocations: 58.61 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.103, allocations: 24.84 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1031, allocations: 0 / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.1032, allocations: 63.39 kB / 0.4929 GB, free: 7.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1032, allocations: 4 kB / 0.4929 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004951/0.1037, allocations: 173.2 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1037, allocations: 55.39 kB / 0.4931 GB, free: 6.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1039, allocations: 211.1 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1039, allocations: 29.7 kB / 0.4933 GB, free: 6.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.104, allocations: 104.1 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.104, allocations: 27.64 kB / 0.4935 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1041, allocations: 25.7 kB / 0.4935 GB, free: 6.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1042, allocations: 334.8 kB / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.1043, allocations: 19.92 kB / 0.4938 GB, free: 6.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.1043, allocations: 41.64 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1044, allocations: 57.78 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1044, allocations: 0 / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.1046, allocations: 109.4 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1046, allocations: 4 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1047, allocations: 0 / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1047, allocations: 0 / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.1048, allocations: 20 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1048, allocations: 0 / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1048, allocations: 11.92 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1048, allocations: 3.938 kB / 0.4941 GB, free: 5.883 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.932e-05/0.1049, allocations: 133.8 kB / 0.4942 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.105, allocations: 11.94 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.105, allocations: 17.41 kB / 0.4942 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.105, allocations: 0 / 0.4942 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.105, allocations: 3.938 kB / 0.4942 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.105, allocations: 3.938 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.1054, allocations: 399.6 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1055, allocations: 4 kB / 0.4946 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.1055, allocations: 8 kB / 0.4946 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1055, allocations: 8.031 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1055, allocations: 3.938 kB / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1055, allocations: 0 / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1055, allocations: 4 kB / 0.4946 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1057, allocations: 204.2 kB / 0.4948 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.1058, allocations: 88.91 kB / 0.4949 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1058, allocations: 7.938 kB / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1059, allocations: 8 kB / 0.4949 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.106, allocations: 7.984 kB / 0.4949 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.106, allocations: 4 kB / 0.4949 GB, free: 4.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1061, allocations: 155.2 kB / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1061, allocations: 0 / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1064, allocations: 28 kB / 0.4951 GB, free: 4.691 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.0009986/0.1074, allocations: 471.4 kB / 0.4956 GB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1076, allocations: 59.91 kB / 0.4956 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1076, allocations: 0 / 0.4956 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.1076, allocations: 32.08 kB / 0.4956 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.108, allocations: 44.05 kB / 0.4957 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.1084, allocations: 268.7 kB / 0.4959 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1087, allocations: 0.7041 MB / 0.4966 GB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1087, allocations: 15.44 kB / 0.4966 GB, free: 3.094 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1087, allocations: 0 / 0.4966 GB, free: 3.094 MB / 382.1 MB Notification: Performance of Templates: time 0.003418/0.1121, allocations: 1.942 MB / 0.4985 GB, free: 1.156 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches