Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 116.7 kB / 17.08 MB, free: 6.012 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.00136/0.00136, 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.398/1.398, 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.208/0.208, allocations: 43.52 MB / 314.8 MB, free: 476 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.001431/0.001431, allocations: 75.88 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09338, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002916/0.09634, allocations: 1.693 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.09759, allocations: 0.8 MB / 0.491 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.09769, allocations: 4 kB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.09801, allocations: 47.77 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.09828, allocations: 63.75 kB / 0.4912 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.09856, allocations: 99.62 kB / 0.4913 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.09872, allocations: 95.69 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.09882, allocations: 12.22 kB / 0.4914 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.09892, allocations: 43.78 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.099, allocations: 31.84 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.09902, allocations: 8 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.09913, allocations: 43.98 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.0992, allocations: 31.86 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.09926, allocations: 43.61 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.09947, allocations: 127.6 kB / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09948, allocations: 0 / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09949, allocations: 0 / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.0995, allocations: 0 / 0.4917 GB, free: 8.59 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.0005209/0.1, allocations: 450.7 kB / 0.4921 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1001, allocations: 15.89 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.1001, allocations: 16.75 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1004, allocations: 220.8 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1004, allocations: 8.312 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1004, allocations: 4.125 kB / 0.4924 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1006, allocations: 53.67 kB / 0.4924 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1006, allocations: 0 / 0.4924 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1006, allocations: 4 kB / 0.4924 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1006, allocations: 0 / 0.4924 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.1007, allocations: 27.97 kB / 0.4924 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1011, allocations: 300.9 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1012, allocations: 58.61 kB / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.1013, allocations: 16.86 kB / 0.4928 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1013, allocations: 0 / 0.4928 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.1015, allocations: 71.39 kB / 0.4929 GB, free: 7.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1015, allocations: 0 / 0.4929 GB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000508/0.102, allocations: 185 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.102, allocations: 51.41 kB / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1023, allocations: 275.8 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1023, allocations: 25.7 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.1024, allocations: 120.1 kB / 0.4935 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1024, allocations: 19.66 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1024, allocations: 29.7 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1026, allocations: 330.8 kB / 0.4939 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.1026, allocations: 24.3 kB / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.1027, allocations: 37.64 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1028, allocations: 69.77 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1028, allocations: 4 kB / 0.494 GB, free: 5.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001862/0.103, allocations: 105.4 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.103, allocations: 4 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.103, allocations: 0 / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1031, allocations: 0 / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.1031, allocations: 16 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1032, allocations: 3.984 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1032, allocations: 7.938 kB / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1032, allocations: 8.031 kB / 0.4941 GB, free: 5.836 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 0.0001021/0.1033, allocations: 141.7 kB / 0.4943 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.1034, allocations: 15.81 kB / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.1034, allocations: 21.39 kB / 0.4943 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1034, allocations: 0 / 0.4943 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1034, allocations: 0 / 0.4943 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1034, allocations: 7.938 kB / 0.4943 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.1039, allocations: 411.2 kB / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1039, allocations: 0 / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.1039, allocations: 8 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1039, allocations: 0 / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.104, allocations: 7.938 kB / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.104, allocations: 0 / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.104, allocations: 0 / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1042, allocations: 204.3 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1043, allocations: 92.91 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1043, allocations: 7.938 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1044, allocations: 4 kB / 0.495 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1044, allocations: 7.984 kB / 0.495 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1044, allocations: 4 kB / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.1046, allocations: 200.2 kB / 0.4952 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1046, allocations: 0 / 0.4952 GB, free: 4.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1049, allocations: 27.98 kB / 0.4952 GB, free: 4.59 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.000984/0.1059, allocations: 475.8 kB / 0.4957 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1061, allocations: 63.89 kB / 0.4957 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1061, allocations: 4.062 kB / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.1062, allocations: 31.92 kB / 0.4958 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1065, allocations: 39.27 kB / 0.4958 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.1071, allocations: 325.3 kB / 0.4961 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1073, allocations: 0.7197 MB / 0.4968 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.1074, allocations: 19.44 kB / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1074, allocations: 0 / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of Templates: time 0.003709/0.1111, allocations: 2.085 MB / 0.4989 GB, free: 0.832 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches