Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001206/0.001206, allocations: 193.3 kB / 18.9 MB, free: 4.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.17 MB / 336.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.22 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09849, allocations: 60.82 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003294/0.1018, allocations: 1.757 MB / 471.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1032, allocations: 0.8654 MB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.1033, allocations: 3.938 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1036, allocations: 35.83 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1039, allocations: 43.83 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1042, allocations: 98.58 kB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1044, allocations: 99.69 kB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.1045, allocations: 8.234 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.1046, allocations: 43.73 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.1047, allocations: 35.83 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1047, allocations: 4 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1048, allocations: 43.98 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1049, allocations: 15.92 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.1049, allocations: 35.73 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1051, allocations: 88.06 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1051, allocations: 0 / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1051, allocations: 0 / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.1051, allocations: 0 / 472.5 MB, free: 11.55 MB / 350.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.0005155/0.1056, allocations: 403 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1057, allocations: 8.031 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.1058, allocations: 8.844 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.106, allocations: 209.8 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.106, allocations: 384 / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.106, allocations: 8.125 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1062, allocations: 57.61 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.1062, allocations: 0 / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1062, allocations: 4 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1062, allocations: 0 / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.1063, allocations: 19.98 kB / 473.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1067, allocations: 284.8 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1069, allocations: 66.59 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1069, allocations: 24.8 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1069, allocations: 0 / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1071, allocations: 75.38 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1071, allocations: 0 / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005394/0.1077, allocations: 169.2 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1077, allocations: 51.41 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1079, allocations: 181.9 kB / 474.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1079, allocations: 29.7 kB / 474.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.108, allocations: 96.14 kB / 474.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.108, allocations: 27.64 kB / 474.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1081, allocations: 25.72 kB / 474.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1082, allocations: 322.8 kB / 474.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.1082, allocations: 23.98 kB / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1083, allocations: 49.58 kB / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1084, allocations: 57.77 kB / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1085, allocations: 0 / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.1086, allocations: 101.4 kB / 474.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1087, allocations: 8 kB / 474.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1087, allocations: 0 / 474.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1087, allocations: 0 / 474.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.1088, allocations: 15.98 kB / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1088, allocations: 8.031 kB / 474.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1089, allocations: 3.938 kB / 474.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1089, allocations: 4 kB / 474.8 MB, free: 9.023 MB / 350.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.0001007/0.109, allocations: 129.8 kB / 475 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.109, allocations: 7.906 kB / 475 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.1091, allocations: 12.72 kB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1091, allocations: 4 kB / 475 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1091, allocations: 0 / 475 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1091, allocations: 7.922 kB / 475 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.1095, allocations: 391.3 kB / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1095, allocations: 0 / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.1096, allocations: 8 kB / 475.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1096, allocations: 0 / 475.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.1096, allocations: 7.938 kB / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1096, allocations: 0 / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1096, allocations: 3.938 kB / 475.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1098, allocations: 212.5 kB / 475.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.1099, allocations: 89 kB / 475.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1099, allocations: 3.938 kB / 475.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.11, allocations: 8 kB / 475.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.11, allocations: 11.98 kB / 475.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1101, allocations: 4 kB / 475.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.1102, allocations: 131.1 kB / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1102, allocations: 0 / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1104, allocations: 31.98 kB / 475.9 MB, free: 7.871 MB / 350.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.001011/0.1115, allocations: 459 kB / 476.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1117, allocations: 63.92 kB / 476.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1117, allocations: 0 / 476.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.1117, allocations: 32.06 kB / 476.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1121, allocations: 35.91 kB / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.1125, allocations: 264.6 kB / 476.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1128, allocations: 0.7002 MB / 477.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.1129, allocations: 15.44 kB / 477.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1129, allocations: 0 / 477.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of Templates: time 0.003551/0.1164, allocations: 1.872 MB / 479.3 MB, free: 4.574 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches