Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 115.9 kB / 17.09 MB, free: 5.984 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.001097/0.001097, allocations: 189.3 kB / 18.01 MB, free: 5.074 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.527/1.527, 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.2151/0.2151, allocations: 43.53 MB / 314.8 MB, free: 452 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.001383/0.001383, allocations: 68.47 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003295/0.1157, allocations: 1.697 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1173, allocations: 0.8039 MB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.1175, allocations: 3.938 kB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1178, allocations: 35.83 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.118, allocations: 59.7 kB / 0.4911 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.1184, allocations: 83.77 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.1187, allocations: 95.69 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1188, allocations: 20.2 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1189, allocations: 39.8 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.119, allocations: 27.84 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.119, allocations: 4 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1192, allocations: 43.98 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.1192, allocations: 23.86 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.1193, allocations: 35.73 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1195, allocations: 103.8 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1196, allocations: 4 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1196, allocations: 3.938 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1196, 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.0005707/0.1202, allocations: 407 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1202, allocations: 15.89 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.1203, allocations: 12.75 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.1206, allocations: 211.9 kB / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1206, allocations: 4.375 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1206, allocations: 4.125 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1208, allocations: 57.67 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1208, allocations: 4 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1208, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1208, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.1209, allocations: 19.98 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.1214, allocations: 280.9 kB / 0.4926 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1215, allocations: 62.61 kB / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.1216, allocations: 20.86 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1216, allocations: 0 / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.1218, allocations: 63.39 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1218, allocations: 0 / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005498/0.1224, allocations: 181.4 kB / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1224, allocations: 55.41 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1226, allocations: 174.2 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1226, allocations: 29.7 kB / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.1227, allocations: 100.1 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1227, allocations: 27.64 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1227, allocations: 17.72 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1229, allocations: 330.7 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.1229, allocations: 28.05 kB / 0.4936 GB, free: 6.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.123, allocations: 37.7 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1231, allocations: 61.77 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1231, allocations: 0 / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.1233, allocations: 101.5 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1234, allocations: 4 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1234, allocations: 4.031 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1234, allocations: 4 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.1235, allocations: 15.98 kB / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1235, allocations: 0 / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1236, allocations: 15.86 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1236, allocations: 4 kB / 0.4939 GB, free: 6.082 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.765e-05/0.1237, allocations: 129.8 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1237, allocations: 11.81 kB / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.1238, allocations: 12.72 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1238, allocations: 4 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1238, allocations: 0 / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1238, allocations: 3.938 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.1243, allocations: 387.3 kB / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1244, allocations: 0 / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.1244, allocations: 11.98 kB / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1244, allocations: 0 / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1244, allocations: 3.938 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1244, allocations: 4 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1244, allocations: 4.031 kB / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1247, allocations: 204.2 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1247, allocations: 81.02 kB / 0.4947 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.1248, allocations: 15.86 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.1248, allocations: 0 / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1249, allocations: 12 kB / 0.4947 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1249, allocations: 7.984 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.125, allocations: 128.1 kB / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.125, allocations: 0 / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1253, allocations: 20.19 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.001115/0.1264, allocations: 470.9 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1266, allocations: 51.92 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1267, allocations: 4 kB / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1268, allocations: 32.08 kB / 0.4954 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1271, allocations: 36.11 kB / 0.4954 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.1276, allocations: 248.6 kB / 0.4957 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.128, allocations: 0.6963 MB / 0.4963 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.128, allocations: 19.38 kB / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.128, allocations: 0 / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of Templates: time 0.00423/0.1323, allocations: 1.898 MB / 0.4982 GB, free: 1.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches