Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 117.6 kB / 17.08 MB, free: 5.953 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.001549/0.001549, allocations: 198.9 kB / 18.01 MB, free: 5.039 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.471/1.471, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2087/0.2087, allocations: 43.53 MB / 314.8 MB, free: 456 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.001404/0.001404, allocations: 77.45 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003222/0.1112, allocations: 1.693 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1127, allocations: 0.7962 MB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.1128, allocations: 3.938 kB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.1132, allocations: 43.77 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1134, allocations: 59.69 kB / 0.4911 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1137, allocations: 83.72 kB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1139, allocations: 103.7 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1141, allocations: 12.22 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.1142, allocations: 39.8 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.1142, allocations: 35.83 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1143, allocations: 4 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1144, allocations: 39.98 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.1144, allocations: 23.88 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.1145, allocations: 39.72 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1147, allocations: 99.77 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1147, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1147, allocations: 7.938 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1147, allocations: 0 / 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.0005554/0.1153, allocations: 407 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1154, allocations: 11.89 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.1154, allocations: 12.75 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1157, allocations: 215.9 kB / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.1157, allocations: 384 / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1158, allocations: 8.125 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1159, allocations: 57.67 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1159, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1159, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.116, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1161, allocations: 19.98 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.1164, allocations: 288.8 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1166, allocations: 62.67 kB / 0.4926 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.1166, allocations: 20.84 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1167, allocations: 0 / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.1168, allocations: 67.39 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.757e-06/0.1168, allocations: 0 / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005433/0.1174, allocations: 181.3 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1174, allocations: 55.41 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1176, allocations: 178.1 kB / 0.4931 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1176, allocations: 29.7 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.1177, allocations: 96.12 kB / 0.4932 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1177, allocations: 19.72 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1178, allocations: 29.7 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.1179, allocations: 326.8 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.1179, allocations: 20 kB / 0.4936 GB, free: 6.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.118, allocations: 41.64 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1181, allocations: 53.7 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1181, allocations: 0 / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.1183, allocations: 105.6 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1184, allocations: 4 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1184, allocations: 3.984 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1184, allocations: 4.031 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.1185, allocations: 19.94 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1185, allocations: 0 / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1186, allocations: 3.938 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1186, allocations: 4 kB / 0.4939 GB, free: 6.09 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.0001118/0.1187, allocations: 129.8 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1187, allocations: 11.81 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.1188, allocations: 16.7 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1188, allocations: 8 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1188, allocations: 0 / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1188, allocations: 3.938 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.1192, allocations: 387.3 kB / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1192, allocations: 0 / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.1192, allocations: 8 kB / 0.4944 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1193, allocations: 0 / 0.4944 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1193, allocations: 7.938 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1193, allocations: 0 / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.1193, allocations: 8.016 kB / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1196, allocations: 204.2 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.1196, allocations: 85.02 kB / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.1196, allocations: 7.875 kB / 0.4947 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1197, allocations: 4 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1198, allocations: 11.98 kB / 0.4947 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1198, allocations: 8 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.745e-05/0.1199, allocations: 128.1 kB / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1199, allocations: 0 / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1202, allocations: 23.98 kB / 0.4949 GB, free: 4.949 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.001081/0.1212, allocations: 470.8 kB / 0.4953 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1214, allocations: 55.97 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1214, allocations: 0 / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1216, 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.0003325/0.1219, allocations: 28.89 kB / 0.4954 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.1224, allocations: 252.5 kB / 0.4957 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1227, 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.962e-05/0.1227, allocations: 19.38 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1227, allocations: 0 / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of Templates: time 0.00391/0.1267, allocations: 1.897 MB / 0.4982 GB, free: 1.504 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches