Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 113.4 kB / 17.86 MB, free: 5.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.001551/0.001551, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.338/1.338, allocations: 222.9 MB / 242.5 MB, free: 15.31 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.2093/0.2093, allocations: 44.18 MB / 336.8 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.2 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003323/0.1139, allocations: 1.629 MB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.1148, allocations: 431.2 kB / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.1148, allocations: 0 / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1152, allocations: 87.8 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1154, allocations: 63.8 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.1159, allocations: 103.8 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1161, allocations: 59.89 kB / 471.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1163, allocations: 20.17 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.1164, allocations: 39.77 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1165, allocations: 55.83 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1165, allocations: 0 / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1166, allocations: 47.97 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1168, allocations: 19.92 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.1168, allocations: 31.75 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.117, allocations: 76.17 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.117, allocations: 0 / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.117, allocations: 0 / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.117, allocations: 0 / 471.8 MB, free: 12.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005832/0.1176, allocations: 414.9 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1177, allocations: 12.03 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.1177, allocations: 16.78 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1179, allocations: 212.7 kB / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.118, allocations: 384 / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.118, allocations: 384 / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1182, allocations: 61.61 kB / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1182, allocations: 0 / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1182, allocations: 0 / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1182, allocations: 0 / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1183, allocations: 31.92 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.1188, allocations: 304.7 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.119, allocations: 38.56 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.1191, allocations: 20.94 kB / 472.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1191, allocations: 8 kB / 472.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1191, allocations: 34.5 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.1191, allocations: 0 / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009705/0.1201, allocations: 237.1 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1202, allocations: 55.41 kB / 473.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1204, allocations: 232.7 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1204, allocations: 25.7 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.1205, allocations: 108.1 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.1205, allocations: 23.7 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1206, allocations: 21.72 kB / 473.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1207, allocations: 322.8 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/0.1208, allocations: 35.97 kB / 474 MB, free: 9.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.1209, allocations: 32.05 kB / 474 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.1211, allocations: 68.81 kB / 474.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1211, allocations: 0 / 474.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002318/0.1213, allocations: 117.4 kB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1214, allocations: 4 kB / 474.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1214, allocations: 0 / 474.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1214, allocations: 8 kB / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1215, allocations: 19.98 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1215, allocations: 3.938 kB / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1216, allocations: 11.88 kB / 474.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.1216, allocations: 4 kB / 474.3 MB, free: 9.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001097/0.1217, allocations: 130.4 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1217, allocations: 11.81 kB / 474.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.1221, allocations: 143.4 kB / 474.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1221, allocations: 0 / 474.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1221, allocations: 3.938 kB / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1221, allocations: 0 / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.1227, allocations: 415.3 kB / 474.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1227, allocations: 15.95 kB / 475 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-05/0.1228, allocations: 19.92 kB / 475 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1228, allocations: 0 / 475 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1228, allocations: 4 kB / 475 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1228, allocations: 0 / 475 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1228, allocations: 3.938 kB / 475 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1231, allocations: 212.6 kB / 475.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.1231, allocations: 92.94 kB / 475.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1232, allocations: 4 kB / 475.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.1232, allocations: 4 kB / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1233, allocations: 7.984 kB / 475.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1233, allocations: 4 kB / 475.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1235, allocations: 171.5 kB / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1235, allocations: 0 / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.1238, allocations: 19.98 kB / 475.5 MB, free: 8.141 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001049/0.1248, allocations: 456.5 kB / 475.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1251, allocations: 75.94 kB / 476 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1251, allocations: 0 / 476 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.1252, allocations: 39.92 kB / 476.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.1256, allocations: 23.58 kB / 476.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.1261, allocations: 330.5 kB / 476.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1264, allocations: 0.7121 MB / 477.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.1265, allocations: 15.44 kB / 477.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1265, allocations: 0 / 477.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of Templates: time 0.00392/0.1304, allocations: 1.785 MB / 478.9 MB, free: 4.84 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches