Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001066/0.001066, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.411/1.411, allocations: 222.9 MB / 243 MB, free: 15.14 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.2024/0.2024, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.69 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003224/0.1083, allocations: 1.707 MB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.1106, allocations: 1.475 MB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1108, allocations: 4 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.1111, allocations: 39.77 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1114, allocations: 63.69 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1118, allocations: 99.69 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.112, allocations: 103.7 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1121, allocations: 8.234 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1122, allocations: 43.78 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1124, allocations: 39.78 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1124, allocations: 4 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1126, allocations: 63.95 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.1126, allocations: 19.92 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.1127, allocations: 27.81 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1129, allocations: 123.6 kB / 474.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1129, allocations: 0 / 474.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.113, allocations: 0 / 474.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.113, allocations: 0 / 474.5 MB, free: 9.789 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.0005971/0.1136, allocations: 403.1 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1136, allocations: 8.031 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.1137, allocations: 8.844 kB / 474.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.114, allocations: 216.1 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.114, allocations: 384 / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.114, allocations: 8.125 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1142, allocations: 71.38 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1142, allocations: 7.938 kB / 475.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1143, allocations: 0 / 475.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1143, allocations: 3.938 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.085e-05/0.1144, allocations: 23.98 kB / 475.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.1148, allocations: 276.9 kB / 475.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.115, allocations: 62.61 kB / 475.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.1151, allocations: 24.78 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1151, allocations: 4 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.1153, allocations: 67.39 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1153, allocations: 0 / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.1159, allocations: 177.1 kB / 475.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.116, allocations: 81.11 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1161, allocations: 152.2 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1162, allocations: 25.7 kB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.1162, allocations: 92.14 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1163, allocations: 27.7 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.1163, allocations: 25.72 kB / 476.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1165, allocations: 326.8 kB / 476.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.1166, allocations: 15.98 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.1166, allocations: 50.5 kB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1167, allocations: 53.75 kB / 476.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1168, allocations: 4 kB / 476.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.117, allocations: 101.5 kB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.117, allocations: 4 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.117, allocations: 0 / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.117, allocations: 4 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.1171, allocations: 15.98 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1171, allocations: 0 / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.1172, allocations: 11.88 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1172, allocations: 4.031 kB / 476.8 MB, free: 7.23 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 9.572e-05/0.1173, allocations: 129 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1173, allocations: 7.906 kB / 477 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.1174, allocations: 16.7 kB / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1174, allocations: 0 / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1174, allocations: 384 / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1174, allocations: 7.938 kB / 477 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.1178, allocations: 383.3 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1178, allocations: 8 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.1179, allocations: 16.17 kB / 477.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1179, allocations: 0 / 477.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1179, allocations: 7.875 kB / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1179, allocations: 3.938 kB / 477.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1179, allocations: 4 kB / 477.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1182, allocations: 208.4 kB / 477.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1182, allocations: 85.02 kB / 477.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1182, allocations: 15.86 kB / 477.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.1183, allocations: 0 / 477.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1184, allocations: 4 kB / 477.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.1184, allocations: 11.98 kB / 477.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.686e-05/0.1185, allocations: 111.3 kB / 477.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1185, allocations: 0 / 477.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.1188, allocations: 31.98 kB / 477.9 MB, free: 6.094 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.001205/0.12, allocations: 0.4932 MB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1202, allocations: 55.92 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1202, allocations: 0 / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1203, allocations: 31.98 kB / 478.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1207, allocations: 19.98 kB / 478.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.1211, allocations: 202.9 kB / 478.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.1214, allocations: 0.6973 MB / 479.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.1215, allocations: 21.17 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.1215, allocations: 19.42 kB / 479.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1215, allocations: 0 / 479.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of Templates: time 0.004788/0.1263, allocations: 1.96 MB / 481.3 MB, free: 2.754 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches