Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009601/0.0009602, allocations: 100 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.334/0.334, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009819/0.0009819, allocations: 55.92 kB / 429.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1087, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003473/0.1122, allocations: 1.764 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1135, allocations: 0.7924 MB / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.1136, allocations: 0 / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1139, allocations: 31.83 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1141, allocations: 51.83 kB / 489.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1145, allocations: 71.84 kB / 489.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1147, allocations: 91.7 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.1148, allocations: 20.2 kB / 489.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.1149, allocations: 43.78 kB / 489.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.115, allocations: 23.86 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.115, allocations: 4 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1151, allocations: 43.91 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.1152, allocations: 19.92 kB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.1153, allocations: 35.73 kB / 490 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1155, allocations: 107.9 kB / 490.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1155, allocations: 7.984 kB / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1155, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1155, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 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.0005372/0.116, allocations: 407 kB / 490.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1161, allocations: 8.031 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.1161, allocations: 8.844 kB / 490.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1163, allocations: 216 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1164, allocations: 4.375 kB / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1164, allocations: 8.125 kB / 490.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1165, allocations: 53.67 kB / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1166, allocations: 7.938 kB / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1166, allocations: 0 / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1166, allocations: 4 kB / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.779e-05/0.1167, allocations: 19.92 kB / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.117, allocations: 288.8 kB / 491.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1171, allocations: 58.67 kB / 491.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.1172, allocations: 24.84 kB / 491.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1172, allocations: 0 / 491.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.1174, allocations: 67.3 kB / 491.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1174, allocations: 0 / 491.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004887/0.1179, allocations: 173.3 kB / 491.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1179, allocations: 55.41 kB / 491.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1181, allocations: 182.2 kB / 491.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1181, allocations: 29.64 kB / 491.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.1182, allocations: 108.1 kB / 491.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1182, allocations: 23.7 kB / 491.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.1183, allocations: 21.72 kB / 491.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.1183, allocations: 326.8 kB / 492.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.1184, allocations: 27.98 kB / 492.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.1185, allocations: 37.69 kB / 492.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1186, allocations: 53.72 kB / 492.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1186, allocations: 0 / 492.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.1188, allocations: 105.6 kB / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1188, allocations: 4 kB / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1188, allocations: 8.031 kB / 492.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1188, allocations: 0 / 492.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.1189, allocations: 19.92 kB / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1189, allocations: 0 / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.119, allocations: 7.938 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.119, allocations: 4 kB / 492.4 MB, free: 6.855 MB / 378.7 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.739e-05/0.1191, allocations: 125.8 kB / 492.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.1191, allocations: 7.906 kB / 492.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.1191, allocations: 16.7 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1191, allocations: 8 kB / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1192, allocations: 0 / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1192, allocations: 3.938 kB / 492.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.1195, allocations: 399.2 kB / 493 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1196, allocations: 4 kB / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.1196, allocations: 8 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1196, allocations: 192 / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.1196, allocations: 3.938 kB / 493 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1196, allocations: 7.969 kB / 493 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1196, allocations: 4 kB / 493 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.1201, allocations: 0.7793 MB / 493.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.1201, allocations: 85.02 kB / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1202, allocations: 7.984 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.1202, allocations: 4.375 kB / 493.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.1203, allocations: 8 kB / 493.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1203, allocations: 7.984 kB / 493.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.1204, allocations: 140.1 kB / 494 MB, free: 5.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1204, allocations: 0 / 494 MB, free: 5.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.1208, allocations: 27.89 kB / 494.1 MB, free: 5.082 MB / 378.7 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.0009111/0.1217, allocations: 480.3 kB / 494.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1218, allocations: 59.84 kB / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1219, allocations: 0 / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.1219, allocations: 31.98 kB / 494.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1223, allocations: 32.3 kB / 494.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.1227, allocations: 371.8 kB / 495 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.123, allocations: 0.7043 MB / 495.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.633e-05/0.1231, allocations: 16.86 kB / 495.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.1231, allocations: 15.44 kB / 495.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1231, allocations: 0 / 495.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of Templates: time 0.003854/0.127, allocations: 1.676 MB / 497.4 MB, free: 1.703 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches