Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 119.4 kB / 17.09 MB, free: 6.008 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.001456/0.001456, allocations: 193.3 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.579/1.579, 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.2271/0.2271, allocations: 43.52 MB / 314.8 MB, free: 464 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.001624/0.001624, allocations: 75.89 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1157, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00327/0.119, allocations: 1.651 MB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1203, allocations: 0.7883 MB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.1204, allocations: 0 / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1208, allocations: 63.73 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.1211, allocations: 67.72 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1214, allocations: 79.78 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1216, allocations: 103.7 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.1216, allocations: 11.98 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1217, allocations: 47.77 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1218, allocations: 47.77 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1219, allocations: 4 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.512e-05/0.122, allocations: 32 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.122, allocations: 19.91 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.1221, allocations: 31.8 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1223, allocations: 91.66 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1223, allocations: 0 / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1223, allocations: 4 kB / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1223, allocations: 0 / 0.4916 GB, free: 8.668 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005668/0.1229, allocations: 414.9 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.123, allocations: 11.89 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.123, allocations: 8.844 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1233, allocations: 208 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1233, allocations: 384 / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1234, allocations: 12.06 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1235, allocations: 53.67 kB / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1235, allocations: 0 / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1235, allocations: 0 / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1236, allocations: 0 / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.1236, allocations: 23.92 kB / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.1238, allocations: 173.7 kB / 0.4924 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.124, allocations: 58.61 kB / 0.4925 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.1241, allocations: 20.8 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1241, allocations: 0 / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.1243, allocations: 67.33 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1243, allocations: 3.938 kB / 0.4926 GB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002709/0.1246, allocations: 93.58 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1246, allocations: 55.39 kB / 0.4927 GB, free: 7.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1248, allocations: 178.2 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1248, allocations: 33.7 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.1249, allocations: 100.1 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.1249, allocations: 7.812 kB / 0.493 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1249, allocations: 25.7 kB / 0.493 GB, free: 6.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.125, allocations: 314.8 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.1251, allocations: 19.97 kB / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.1252, allocations: 41.64 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.669e-05/0.1253, allocations: 41.97 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1253, allocations: 0 / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001787/0.1255, allocations: 93.44 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1255, allocations: 4 kB / 0.4935 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1255, allocations: 0 / 0.4935 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1255, allocations: 0 / 0.4935 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.1256, allocations: 16.03 kB / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1256, allocations: 0 / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.1257, allocations: 15.83 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1257, allocations: 0 / 0.4936 GB, free: 6.379 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 (7): * Single equations (assignments): 7 * 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 9.981e-05/0.1258, allocations: 129.7 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1258, allocations: 7.906 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.1259, allocations: 12.3 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1259, allocations: 4 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1259, allocations: 3.938 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1259, allocations: 4 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.126, allocations: 185.6 kB / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.126, allocations: 3.938 kB / 0.4939 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.1261, allocations: 3.984 kB / 0.4939 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1261, allocations: 4 kB / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1261, allocations: 0 / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1261, allocations: 0 / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1261, allocations: 0 / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1263, allocations: 117 kB / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.1263, allocations: 88.92 kB / 0.4941 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1264, allocations: 128 / 0.4941 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.1264, allocations: 12 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1264, allocations: 3.984 kB / 0.4941 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1265, allocations: 4 kB / 0.4941 GB, free: 5.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1266, allocations: 140.1 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1266, allocations: 0 / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002063/0.1268, allocations: 23.92 kB / 0.4943 GB, free: 5.547 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009072/0.1277, allocations: 407.9 kB / 0.4947 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1279, allocations: 35.98 kB / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1279, allocations: 0 / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.128, allocations: 27.92 kB / 0.4947 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.1282, allocations: 39.47 kB / 0.4948 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.1286, allocations: 223.7 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1289, allocations: 0.708 MB / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1289, allocations: 11.44 kB / 0.4957 GB, free: 4.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1289, allocations: 0 / 0.4957 GB, free: 4.09 MB / 382.1 MB Notification: Performance of Templates: time 0.003529/0.1325, allocations: 1.68 MB / 0.4973 GB, free: 2.414 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches