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.00115/0.00115, allocations: 119.3 kB / 17.09 MB, free: 5.965 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.001199/0.001199, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.571/1.571, 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.211/0.211, allocations: 43.52 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.001552/0.001552, allocations: 70.03 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003263/0.1169, allocations: 1.693 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1183, allocations: 0.8 MB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1184, allocations: 3.938 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.1188, allocations: 35.83 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1191, allocations: 59.7 kB / 0.4911 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1194, allocations: 87.75 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1196, allocations: 95.69 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.1197, allocations: 16.22 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1198, allocations: 43.78 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.1199, allocations: 23.86 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1199, allocations: 4 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1201, allocations: 51.91 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.1202, allocations: 19.92 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.1202, allocations: 31.75 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1204, allocations: 107.8 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1205, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1205, allocations: 4 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1205, allocations: 7.938 kB / 0.4916 GB, free: 8.621 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.0005451/0.121, allocations: 399 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1211, allocations: 15.89 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.1211, allocations: 12.75 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1214, allocations: 219.9 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1215, allocations: 384 / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1215, allocations: 4.125 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1216, allocations: 61.67 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1217, allocations: 3.984 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1217, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1217, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-05/0.1218, allocations: 19.98 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.1222, allocations: 284.8 kB / 0.4926 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1223, allocations: 62.67 kB / 0.4927 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.1224, allocations: 16.86 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1224, allocations: 0 / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.1226, allocations: 67.33 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1226, allocations: 0 / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005443/0.1231, allocations: 173.4 kB / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1232, allocations: 63.34 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1234, allocations: 166.2 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1234, allocations: 41.62 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.1235, allocations: 100.1 kB / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.1235, allocations: 23.7 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.1236, allocations: 17.72 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1237, allocations: 326.8 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.1238, allocations: 23.98 kB / 0.4936 GB, free: 6.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.1238, allocations: 41.77 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1239, allocations: 61.66 kB / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.124, allocations: 0 / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.1242, allocations: 97.58 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1242, allocations: 4 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1242, allocations: 4 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1242, allocations: 4.031 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.1243, allocations: 19.92 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1244, allocations: 0 / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1244, allocations: 7.938 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1244, allocations: 4 kB / 0.4939 GB, free: 6.086 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 9.544e-05/0.1245, allocations: 129.8 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1246, allocations: 11.81 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.1246, allocations: 12.72 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1246, allocations: 0 / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1246, allocations: 4 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.1246, allocations: 3.938 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.1251, allocations: 391.3 kB / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1251, allocations: 0 / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.1251, allocations: 11.98 kB / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1251, allocations: 0 / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1251, allocations: 3.938 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.1252, allocations: 4 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1252, allocations: 7.969 kB / 0.4944 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1254, allocations: 200.3 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1255, allocations: 81.02 kB / 0.4947 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1255, allocations: 11.92 kB / 0.4947 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.1256, allocations: 3.938 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1256, allocations: 8 kB / 0.4947 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1256, allocations: 11.98 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1257, allocations: 128.1 kB / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1258, allocations: 0 / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.126, allocations: 20 kB / 0.4949 GB, free: 4.953 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.001054/0.1271, allocations: 479.5 kB / 0.4953 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1273, allocations: 51.97 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1273, allocations: 4 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.1274, allocations: 31.92 kB / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1277, allocations: 28.58 kB / 0.4954 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.1282, allocations: 248.6 kB / 0.4957 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1285, allocations: 0.6963 MB / 0.4963 GB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.1285, allocations: 15.44 kB / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1286, allocations: 7.938 kB / 0.4964 GB, free: 3.387 MB / 382.1 MB Notification: Performance of Templates: time 0.003811/0.1324, allocations: 1.89 MB / 0.4982 GB, free: 1.5 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