Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 109.7 kB / 17.33 MB, free: 5.988 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.001795/0.001795, allocations: 193.3 kB / 18.25 MB, free: 5.078 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.32/1.32, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2202/0.2202, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 68.23 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09979, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002836/0.1027, allocations: 1.621 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007312/0.1034, allocations: 439.2 kB / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.1035, allocations: 0 / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.1037, allocations: 15.92 kB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1039, allocations: 39.84 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1042, allocations: 99.19 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1043, allocations: 55.84 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.1044, allocations: 16.19 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.1045, allocations: 23.91 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.1045, allocations: 23.86 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1046, allocations: 4 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1047, allocations: 55.97 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.1047, allocations: 15.86 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.1048, allocations: 23.86 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1049, allocations: 92.05 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.105, allocations: 4 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.105, allocations: 0 / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.105, allocations: 0 / 471.2 MB, free: 12.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00043/0.1054, allocations: 383.2 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1054, allocations: 12.03 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1055, allocations: 8.844 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1057, allocations: 188.2 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1057, allocations: 384 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1057, allocations: 4.359 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1059, allocations: 75.28 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1059, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1059, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1059, allocations: 4 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.106, allocations: 23.97 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1064, allocations: 296.8 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1065, allocations: 46.56 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.1066, allocations: 20.94 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1066, allocations: 4 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1066, allocations: 30.56 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1066, allocations: 4 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005599/0.1072, allocations: 185.2 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1072, allocations: 77.11 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1074, allocations: 140.5 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1074, allocations: 25.7 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.1075, allocations: 96.12 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.1075, allocations: 19.66 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1075, allocations: 25.72 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1077, allocations: 322.8 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.1078, allocations: 39.84 kB / 473.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.1079, allocations: 37.7 kB / 473.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.108, allocations: 72.84 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.108, allocations: 3.938 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002172/0.1083, allocations: 109.5 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1083, allocations: 4 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1083, allocations: 0 / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.1083, allocations: 0 / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1084, allocations: 23.92 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.1084, allocations: 320 / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.1085, allocations: 7.984 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1085, allocations: 11.94 kB / 473.5 MB, free: 9.715 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 8.474e-05/0.1086, allocations: 118.4 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.1086, allocations: 3.906 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1089, allocations: 114 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1089, allocations: 0 / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1089, allocations: 0 / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1089, allocations: 7.922 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.1094, allocations: 390.4 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1094, allocations: 0 / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.1095, allocations: 19.92 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1095, allocations: 0 / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1095, allocations: 3.938 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1095, allocations: 0 / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1095, allocations: 8 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1097, allocations: 187.4 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1098, allocations: 89 kB / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1098, allocations: 8.219 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.1099, allocations: 8 kB / 474.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1099, allocations: 3.984 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1099, allocations: 8 kB / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.11, allocations: 103.3 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.11, allocations: 0 / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1103, allocations: 27.98 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009378/0.1112, allocations: 456.3 kB / 475 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1115, allocations: 75.92 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1115, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.1116, allocations: 35.92 kB / 475.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1119, allocations: 19.86 kB / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.1123, allocations: 206.1 kB / 475.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1126, allocations: 0.6885 MB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.1127, allocations: 20.64 kB / 476 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.1127, allocations: 19.44 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1127, allocations: 0 / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of Templates: time 0.003952/0.1167, allocations: 1.545 MB / 477.6 MB, free: 5.602 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches